Skip to content
Commit 70c5acbd authored by Jaya Kumar's avatar Jaya Kumar Committed by Jaroslav Kysela
Browse files

[ALSA] ac97_codec - fix duplicate control creation in AC97



This patch conditions AC97 control creation by whether or not the
codec is an AD18xx codec. This fixes the case where the default control
would get created and then snd_ac97_mixer_build fails out when creation
of ad18xx specific control would get attempted. This problem was found
and debuged by Marcelo Tosatti.

Signed-off-by: default avatarJaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent ecb594e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment