summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ab8500_audio.c2
-rw-r--r--sound/soc/codecs/ab8500_audio.h8
2 files changed, 8 insertions, 2 deletions
diff --git a/sound/soc/codecs/ab8500_audio.c b/sound/soc/codecs/ab8500_audio.c
index 34809d0adf4..256e8bff9d7 100644
--- a/sound/soc/codecs/ab8500_audio.c
+++ b/sound/soc/codecs/ab8500_audio.c
@@ -77,7 +77,7 @@ static const u8 ab8500_reg_cache[AB8500_CACHEREGNUM] = {
0x00, /* REG_ANACONF4 (0x08) */
0x00, /* REG_DAPATHCONF (0x09) */
0x40, /* REG_MUTECONF (0x0A) */
- 0x00, /* REG_SHORTCIRCONF (0x0B) */
+ 0x01, /* REG_SHORTCIRCONF (0x0B) */
0x01, /* REG_ANACONF5 (0x0C) */
0x00, /* REG_ENVCPCONF (0x0D) */
0x00, /* REG_SIGENVCONF (0x0E) */
diff --git a/sound/soc/codecs/ab8500_audio.h b/sound/soc/codecs/ab8500_audio.h
index 72f7b383830..a046357b55a 100644
--- a/sound/soc/codecs/ab8500_audio.h
+++ b/sound/soc/codecs/ab8500_audio.h
@@ -329,8 +329,14 @@ int ab8500_audio_set_adcm(enum ab8500_audio_adcm req_adcm);
#define REG_MUTECONF_MUTDACHSL 1
#define REG_MUTECONF_MUTDACHSR 0
-
/* REG_SHORTCIRCONF */
+#define REG_SHORTCIRCONF_ENSHORTPWD 7
+#define REG_SHORTCIRCONF_EARSHORTDIS 6
+#define REG_SHORTCIRCONF_HSSHORTDIS 5
+#define REG_SHORTCIRCONF_HSPULLDEN 4
+#define REG_SHORTCIRCONF_HSOSCEN 2
+#define REG_SHORTCIRCONF_HSFADDIS 1
+#define REG_SHORTCIRCONF_HSZCDDIS 0 /* Zero cross should be disabled */
/* REG_ANACONF5 */
#define REG_ANACONF5_ENCPHS 7