[alsa-devel] [PATCH RFC 2/2] Add workaround for conflicting IEC958 controls for HD-audio

Takashi Iwai tiwai at suse.de
Mon Feb 4 10:34:14 CET 2013


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 <tiwai at suse.de>
> > ---
> >  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


More information about the Alsa-devel mailing list