aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-ssi.c
diff options
context:
space:
mode:
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 90110ada270d..4a26d88d7236 100644
--- a/sound/soc/fsl/imx-ssi.c
+++ b/sound/soc/fsl/imx-ssi.c
@@ -500,6 +500,8 @@ static void imx_ssi_ac97_reset(struct snd_ac97 *ac97)
500 500
501 if (imx_ssi->ac97_reset) 501 if (imx_ssi->ac97_reset)
502 imx_ssi->ac97_reset(ac97); 502 imx_ssi->ac97_reset(ac97);
503 /* First read sometimes fails, do a dummy read */
504 imx_ssi_ac97_read(ac97, 0);
503} 505}
504 506
505static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97) 507static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97)
@@ -508,6 +510,9 @@ static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97)
508 510
509 if (imx_ssi->ac97_warm_reset) 511 if (imx_ssi->ac97_warm_reset)
510 imx_ssi->ac97_warm_reset(ac97); 512 imx_ssi->ac97_warm_reset(ac97);
513
514 /* First read sometimes fails, do a dummy read */
515 imx_ssi_ac97_read(ac97, 0);
511} 516}
512 517
513struct snd_ac97_bus_ops soc_ac97_ops = { 518struct snd_ac97_bus_ops soc_ac97_ops = {