From: Takashi Iwai Subject: Re: [PATCH RFC 2/2] Add workaround for conflicting IEC958 controls for HD-audio Date: Mon, 04 Feb 2013 10:34:14 +0100 Message-ID: References: <510E92FE.3030303@iki.fi> 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 450C126164D for ; Mon, 4 Feb 2013 10:34:14 +0100 (CET) In-Reply-To: <510E92FE.3030303@iki.fi> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Anssi Hannula Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sun, 03 Feb 2013 18:40:30 +0200, Anssi Hannula wrote: > > 12.10.2012 18:25, Takashi Iwai kirjoitti: > > When both an SPDIF and an HDMI output are present on HD-audio, both > > try to access IEC958 controls with index=0 although one of them must > > be wrong. For avoiding this conflict, the recent kernel code moves > > the IEC958 controls of an SPDIF with device=1 once when the conflict > > happens. > > > > In this patch, the corresponding support is added in alsa-lib side. > > The new "skip_rest" boolean flag is added to the hooked element > > definition which indicates that the rest of element array will be > > ignored once when this element is present and evaluated. With this > > new flag, the HD-audio config takes device=1 primarily, then take > > device=0 as fallback. > > > > Signed-off-by: Takashi Iwai > > --- > > src/conf/cards/HDA-Intel.conf | 16 ++++++++++++++++ > > src/control/setup.c | 19 ++++++++++++++++--- > > 2 files changed, 32 insertions(+), 3 deletions(-) > [...] > > AFAICS this patch was never applied. Was there a reason for that? I also don't remember :) If anyone won't object, I'll apply it later. Takashi