aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2012-03-07 22:06:58 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-03 01:18:01 +0200
commit0a36cf701830ca6bc2e1eb6c96383fa270c64d2c (patch)
tree025a04c91370cb6d908d28990dd45f38603f4c54 /sound
parent80013f268131a333cbbf00354a0691543722d426 (diff)
downloadkernel_samsung_tuna-0a36cf701830ca6bc2e1eb6c96383fa270c64d2c.zip
kernel_samsung_tuna-0a36cf701830ca6bc2e1eb6c96383fa270c64d2c.tar.gz
kernel_samsung_tuna-0a36cf701830ca6bc2e1eb6c96383fa270c64d2c.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')
-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 55f515a..61056d9 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -807,7 +807,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: