[ALSA] Disable AC97 AUX and VIDEO controls for WM9705 touchscreen
authorRodolfo Giometti <giometti@linux.it>
Mon, 19 Jun 2006 13:04:54 +0000 (15:04 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:34:29 +0000 (21:34 +0200)
commit1459c7849ea24fd71e4d2e678caa1cc3fef754e2
tree9faaca96c655768056850706a82ac5bb4ffc1f80
parent396f739e21f3b7ea9ece08bf0abf0a45693c3047
[ALSA] Disable AC97 AUX and VIDEO controls for WM9705 touchscreen

This patch by Rodolfo Giometti disables the AC97 AUX and VIDEO controls
on the WM9705 when the touchscreen is selected as the AUX and VIDEO
lines are shared with the touch controller.
Changes:-
 o Added AC97_HAS_NO_AUX flag
 o Test for AC97_HAS_NO_AUX flag in snd_ac97_mixer_build()
 o Sets AC97_HAS_NO_VIDEO and AC97_HAS_NO_AUX in patch_wolfson05() when
WM9705 touch driver is selected.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_codec.c
sound/pci/ac97/ac97_patch.c