Merge remote-tracking branch 'asoc/fix/mc13783' into asoc-linus

This commit is contained in:
Mark Brown 2013-09-11 11:17:16 +01:00
commit bf612730bf

View file

@ -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;