summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-11 12:17:16 +0200
committerMark Brown <broonie@linaro.org>2013-09-11 12:17:16 +0200
commitbf612730bf2e760688a14060a8356229bbb0fa5f (patch)
tree63e9a2acd118b1017a680f5f8d16992b55bcee86 /sound
parentMerge remote-tracking branch 'asoc/fix/kirkwood' into asoc-linus (diff)
parentASoC: mc13783: add spi errata fix (diff)
downloadlinux-bf612730bf2e760688a14060a8356229bbb0fa5f.tar.xz
linux-bf612730bf2e760688a14060a8356229bbb0fa5f.zip
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;