Skip to contentSkip to conversation

ASoC: cs42l52: fix default value for MASTERA_VOL.

PATCH Applied Nicolas Schichan 3 participants 3 messages May 23, 2013 – May 28, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: cs42l52: fix default value for MASTERA_VOL.

The default register value for MASTERA_VOL is 0x00, the same as MASTERB_VOL.

---
 sound/soc/codecs/cs42l52.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs42l52.c +1 -1
index 8465c1fa..030f53c 100644
@@ -86,7 +86,7 @@ static const struct reg_default cs42l52_reg_defaults[] = {
 	{ CS42L52_BEEP_VOL, 0x00 },	/* r1D Beep Volume off Time */
 	{ CS42L52_BEEP_TONE_CTL, 0x00 },	/* r1E Beep Tone Cfg. */
 	{ CS42L52_TONE_CTL, 0x00 },	/* r1F Tone Ctl */
-	{ CS42L52_MASTERA_VOL, 0x88 },	/* r20 Master A Volume */
+	{ CS42L52_MASTERA_VOL, 0x00 },	/* r20 Master A Volume */
 	{ CS42L52_MASTERB_VOL, 0x00 },	/* r21 Master B Volume */
 	{ CS42L52_HPA_VOL, 0x00 },	/* r22 Headphone A Volume */
 	{ CS42L52_HPB_VOL, 0x00 },	/* r23 Headphone B Volume */
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 25 lines · Nicolas Schichan

The default register value for MASTERA_VOL is 0x00, the same as MASTERB_VOL.

---
sound/soc/codecs/cs42l52.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs42l52.c +1 -1
index 8465c1fa..030f53c 100644
@@ -86,7 +86,7 @@ static const struct reg_default cs42l52_reg_defaults[] = {
   { CS42L52_BEEP_VOL, 0x00 },    /* r1D Beep Volume off Time */
   { CS42L52_BEEP_TONE_CTL, 0x00 },    /* r1E Beep Tone Cfg. */
   { CS42L52_TONE_CTL, 0x00 },    /* r1F Tone Ctl */
-    { CS42L52_MASTERA_VOL, 0x88 },    /* r20 Master A Volume */
+    { CS42L52_MASTERA_VOL, 0x00 },    /* r20 Master A Volume */
   { CS42L52_MASTERB_VOL, 0x00 },    /* r21 Master B Volume */
   { CS42L52_HPA_VOL, 0x00 },    /* r22 Headphone A Volume */
   { CS42L52_HPB_VOL, 0x00 },    /* r23 Headphone B Volume */
Signature · 1 line
1.7.10.4
maintainer Applied
#2 lore raw
In reply to Nicolas Schichan
Quoted 2 lines · Nicolas Schichan

The default register value for MASTERA_VOL is 0x00, the same as MASTERB_VOL.

Applied, thanks. Please use my current e-mail address as per MAINTAINERS and so on, the Wolfson one will go bad at the end of the week.