diff options
author | Jaya Kumar <jayakumar.alsa@gmail.com> | 2006-06-12 10:08:02 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 21:34:20 +0200 |
commit | 70c5acbdcc7bb1651bb166f9e4b2345759a9fb18 (patch) | |
tree | 534753139efe08d6abbf4140063a6b0a74f227e7 /sound/pci/hda/patch_analog.c | |
parent | ecb594e66e740dc390a301768d89662777f1fde2 (diff) | |
download | op-kernel-dev-70c5acbdcc7bb1651bb166f9e4b2345759a9fb18.zip op-kernel-dev-70c5acbdcc7bb1651bb166f9e4b2345759a9fb18.tar.gz |
[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: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
0 files changed, 0 insertions, 0 deletions