[alsa-devel] [RFC][PATCH] Get rid of dead code in sound/pci/ac97/ac97_patch.c

Michal Piotrowski michal.k.k.piotrowski at gmail.com
Tue Jul 31 22:36:23 CEST 2007


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 at 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;
 }
 


More information about the Alsa-devel mailing list