Skip to contentSkip to conversation

Get rid of dead code in sound/pci/ac97/ac97_patch.c

RFC PATCH In review Michal Piotrowski 2 participants 2 messages Jul 31, 2007 – Aug 1, 2007

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 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

Signature · 18 lines
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <[email protected]>

--- 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;
 }
#1 lore raw

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

Quoted 8 lines · Michal Piotrowski

Hi,

File /home/devel/linux-rdc/sound/pci/ac97/ac97_patch.c line 484 Unknown CONFIG option! CONFIG_TOUCHSCREEN_WM9705

Regards,
Michal