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

Anssi Hannula anssi.hannula at iki.fi
Sun Feb 3 17:40:30 CET 2013


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?

-- 
Anssi Hannula


More information about the Alsa-devel mailing list