summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-ssi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-26 15:08:01 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-26 15:08:01 +0100
commitd7963b72e4f7c41f741dbf75003f9ca23eac6512 (patch)
treefe9df05b990943c87119d0c3ed8f512c27993129 /sound/soc/fsl/imx-ssi.c
parentMerge remote-tracking branch 'asoc/fix/dapm' into asoc-next (diff)
parentASoC: pcm030 audio fabric: remove __init from probe (diff)
downloadlinux-d7963b72e4f7c41f741dbf75003f9ca23eac6512.tar.xz
linux-d7963b72e4f7c41f741dbf75003f9ca23eac6512.zip
Merge remote-tracking branch 'asoc/fix/fsl' into asoc-next
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r--sound/soc/fsl/imx-ssi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
index 55464a5b0706..810c7eeb7b03 100644
--- a/sound/soc/fsl/imx-ssi.c
+++ b/sound/soc/fsl/imx-ssi.c
@@ -496,6 +496,8 @@ static void imx_ssi_ac97_reset(struct snd_ac97 *ac97)
if (imx_ssi->ac97_reset)
imx_ssi->ac97_reset(ac97);
+ /* First read sometimes fails, do a dummy read */
+ imx_ssi_ac97_read(ac97, 0);
}
static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97)
@@ -504,6 +506,9 @@ static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97)
if (imx_ssi->ac97_warm_reset)
imx_ssi->ac97_warm_reset(ac97);
+
+ /* First read sometimes fails, do a dummy read */
+ imx_ssi_ac97_read(ac97, 0);
}
struct snd_ac97_bus_ops soc_ac97_ops = {