aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown2013-09-11 11:17:16 +0100
committerMark Brown2013-09-11 11:17:16 +0100
commitbf612730bf2e760688a14060a8356229bbb0fa5f (patch)
tree63e9a2acd118b1017a680f5f8d16992b55bcee86 /sound
parente695e7a47d8d6e35255e17ded9409684a7dc0fa1 (diff)
parent9f6f0afbb9fdabf6dcac642dfec457f28981e3f8 (diff)
Merge remote-tracking branch 'asoc/fix/mc13783' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/mc13783.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c
index 4d3c8fd8c5db..ea141e1d6f28 100644
--- a/sound/soc/codecs/mc13783.c
+++ b/sound/soc/codecs/mc13783.c
@@ -125,6 +125,10 @@ static int mc13783_write(struct snd_soc_codec *codec,
ret = mc13xxx_reg_write(priv->mc13xxx, reg, value);
+ /* include errata fix for spi audio problems */
+ if (reg == MC13783_AUDIO_CODEC || reg == MC13783_AUDIO_DAC)
+ ret = mc13xxx_reg_write(priv->mc13xxx, reg, value);
+
mc13xxx_unlock(priv->mc13xxx);
return ret;