aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2012-03-07 22:06:58 -0600
committerDmytro Kedrovskyi <x0169235@ti.com>2012-03-16 13:02:27 +0200
commit41f05f6a35a7feab16b416002a92f1fc09514614 (patch)
treee0ff39da04f3863927059f02cfffe702df5ac907 /sound/soc
parentc18a745af584df0ecfe2047a4fda53ae331f8a45 (diff)
downloadkernel_samsung_espresso10-41f05f6a35a7feab16b416002a92f1fc09514614.zip
kernel_samsung_espresso10-41f05f6a35a7feab16b416002a92f1fc09514614.tar.gz
kernel_samsung_espresso10-41f05f6a35a7feab16b416002a92f1fc09514614.tar.bz2
ASoC: twl6040: Use HS DC offset errata for TWL6041 ES2.0
Headset DC offset errata also applies for TWL6041 ES2.0. Change-Id: Ia1c6f837507d146d137fd62e3e500ad427cad233 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/twl6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 98a5def..9f4a2b7 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -838,7 +838,7 @@ static int twl6040_hs_dac_left_event(struct snd_soc_dapm_widget *w,
int hsrctl;
/* SW Workaround for DC Offset On EAR Differential Output Errata */
- if (twl6040_get_icrev(twl6040) < TWL6040_REV_1_3) {
+ if (twl6040_get_icrev(twl6040) <= TWL6041_REV_2_0) {
hsrctl = twl6040_read_reg_cache(codec, TWL6040_REG_HSRCTL);
switch (event) {
case SND_SOC_DAPM_PRE_PMU: