[PATCH] ac97: add support for wm9711 master left inv switch

From: Guennadi Liakhovetski
Date: Fri Jun 06 2008 - 11:03:20 EST


From: Juergen Beisert <j.beisert@xxxxxxxxxxxxxx>

This patch adds support for Master Left Inv Switch on wm9711.
At least required to drive the mono speaker on the PXA270 platfrom

Signed-off-by: Juergen Beisert <j.beisert@xxxxxxxxxxxxxx>

---

sound/pci/ac97/ac97_patch.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6/sound/pci/ac97/ac97_patch.c
===================================================================
--- linux-2.6.orig/sound/pci/ac97/ac97_patch.c 2008-05-26 12:19:23.000000000 +0200
+++ linux-2.6/sound/pci/ac97/ac97_patch.c 2008-05-27 13:23:11.000000000 +0200
@@ -669,6 +669,7 @@
AC97_SINGLE("Mic 2 Volume", AC97_MIC, 0, 31, 1),
AC97_SINGLE("Mic 20dB Boost Switch", AC97_MIC, 7, 1, 0),

+AC97_SINGLE("Master Left Inv Switch", AC97_MASTER, 6, 1, 0),
AC97_SINGLE("Master ZC Switch", AC97_MASTER, 7, 1, 0),
AC97_SINGLE("Headphone ZC Switch", AC97_HEADPHONE, 7, 1, 0),
AC97_SINGLE("Mono ZC Switch", AC97_MASTER_MONO, 7, 1, 0),

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/