summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-11 11:17:16 +0100
committerMark Brown <broonie@linaro.org>2013-09-11 11:17:16 +0100
commitbf612730bf2e760688a14060a8356229bbb0fa5f (patch)
tree63e9a2acd118b1017a680f5f8d16992b55bcee86 /sound/soc
parente695e7a47d8d6e35255e17ded9409684a7dc0fa1 (diff)
parent9f6f0afbb9fdabf6dcac642dfec457f28981e3f8 (diff)
downloadop-kernel-dev-bf612730bf2e760688a14060a8356229bbb0fa5f.zip
op-kernel-dev-bf612730bf2e760688a14060a8356229bbb0fa5f.tar.gz
Merge remote-tracking branch 'asoc/fix/mc13783' into asoc-linus
Diffstat (limited to 'sound/soc')
-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 4d3c8fd..ea141e1 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;
OpenPOWER on IntegriCloud