[alsa-devel] [RFC][PATCH] Get rid of dead code in sound/pci/ac97/ac97_patch.c
Hi, File /home/devel/linux-rdc/sound/pci/ac97/ac97_patch.c line 484 Unknown CONFIG option! CONFIG_TOUCHSCREEN_WM9705 Regards, Michal -- LOG http://www.stardust.webpages.pl/log/ Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> --- linux-rdc-clean/sound/pci/ac97/ac97_patch.c 2007-07-09 01:32:17.000000000 +0200 +++ linux-rdc/sound/pci/ac97/ac97_patch.c 2007-07-31 17:26:32.000000000 +0200 @@ -481,10 +481,7 @@ static int patch_wolfson05(struct snd_ac { /* WM9705, WM9710 */ ac97->build_ops = &patch_wolfson_wm9705_ops; -#ifdef CONFIG_TOUCHSCREEN_WM9705 - /* WM9705 touchscreen uses AUX and VIDEO for touch */ - ac97->flags |= AC97_HAS_NO_VIDEO | AC97_HAS_NO_AUX; -#endif + return 0; }
I'd prefer we keep this code in atm. The WM97xx touch driver needs it to eliminate any audio noise from the touchscreen ADC. I'll post the remaining touch driver patches in time for the next merge window. Liam On Tue, 2007-07-31 at 22:36 +0200, Michal Piotrowski wrote:
Hi,
File /home/devel/linux-rdc/sound/pci/ac97/ac97_patch.c line 484 Unknown CONFIG option! CONFIG_TOUCHSCREEN_WM9705
Regards, Michal
participants (2)
-
Liam Girdwood -
Michal Piotrowski