ASoC: mc13783: add spi errata fix
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Mon, 9 Sep 2013 16:09:12 +0000 (18:09 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 11 Sep 2013 10:16:48 +0000 (11:16 +0100)
commit9f6f0afbb9fdabf6dcac642dfec457f28981e3f8
treeee5b4779d24ea40ef03c5a079bb5476789ed2fae
parent5df498a27ab385294fdb7cad19c623d4da94a780
ASoC: mc13783: add spi errata fix

The MC13783 Chip Errata, Rev. 4 says, that depending on SPI clock
and main audio clock speed, the Audio Codec or Stereo DAC do sometimes
not start when programmed to do so. This is due to an internal clock
timing issue related to the loading of the SPI bits into the audio block.

On an i.MX27 based system, this issue lead to switched audio channels under
certain circumstances: RTC + Touch + Audio are used and loaded at startup.

The mentioned workaround of writing registers 40 and 41 two times is implemented
here.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/mc13783.c
This page took 0.025723 seconds and 5 git commands to generate.