aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-12 07:46:02 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-12 08:11:54 -0400
commit33b6816ca3a4027a1b5444c83c1c24c0b1991262 (patch)
treec14a30ad5b0d70023887f6de96889678409b8c2b /include/linux/mfd
parent67c341302f5a401a405be758250bada39746c96b (diff)
ASoC: twl6040: Workaround for headset DC offset caused pop noise
Both Headset DAC need to be turned on/off at the same time before any of the output drivers are enabled (HS Left/Right, Earpiece). Move the HS DAC enable code to sequenced DAPM_SUPPLY, and attach it to the DACs. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/twl6040.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index 87a4778ed4b0..2463c2619596 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -122,6 +122,7 @@
122 122
123/* HSLCTL/R (0x10/0x11) fields */ 123/* HSLCTL/R (0x10/0x11) fields */
124 124
125#define TWL6040_HSDACENA (1 << 0)
125#define TWL6040_HSDACMODE (1 << 1) 126#define TWL6040_HSDACMODE (1 << 1)
126#define TWL6040_HSDRVMODE (1 << 3) 127#define TWL6040_HSDRVMODE (1 << 3)
127 128