From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ALSA: hda: hdmi: Hint matching between input devices and pcm devices Date: Mon, 12 Sep 2011 09:10:58 +0200 Message-ID: References: <4E53C32E.9020801@canonical.com> <74CDBE0F657A3D45AFBB94109FB122FF04B24A3823@HQMAIL01.nvidia.com> <4E5483CD.6070808@canonical.com> <74CDBE0F657A3D45AFBB94109FB122FF04B24A3C9E@HQMAIL01.nvidia.com> <4E55F634.9070601@canonical.com> <74CDBE0F657A3D45AFBB94109FB122FF04B24A3E7D@HQMAIL01.nvidia.com> <4E56C088.6080402@canonical.com> <1314656063.27660.9.camel@plb-Dell> <4E5C93E7.9010804@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 153E52436D for ; Mon, 12 Sep 2011 09:11:00 +0200 (CEST) In-Reply-To: <000601cc6714$fc5caa80$f515ff80$@bossart@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, 'Clemens Ladisch' List-Id: alsa-devel@alsa-project.org At Tue, 30 Aug 2011 08:01:50 -0500, Pierre-Louis Bossart wrote: > > Hi Clemens, > > > If the driver can detect ELD changes, it must inform userspace that > > the control has changed. If there is no ELD, the _get callback should > > return an error, and the control should have been set to unreadable. > > Bear with my ignorance of controls, but how does the driver 'inform > userspace that the control has changed'? The control API has a notification mechanism. You can find some drivers calling snd_ctl_notify(). Takashi