[02/74] ASoC: imx-ssi: Fix occasional AC97 reset failure

2013-04-07 Thread Ben Hutchings
3.2.43-rc1 review patch.  If anyone has any objections, please let me know.

--

From: Sascha Hauer 

commit b6e51600f4e983e757b1b6942becaa1ae7d82e67 upstream.

Signed-off-by: Sascha Hauer 
Signed-off-by: Markus Pargmann 
Signed-off-by: Mark Brown 
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings 
---
 sound/soc/imx/imx-ssi.c |5 +
 1 file changed, 5 insertions(+)

--- a/sound/soc/imx/imx-ssi.c
+++ b/sound/soc/imx/imx-ssi.c
@@ -573,6 +573,8 @@ static void imx_ssi_ac97_reset(struct sn
 
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)
@@ -581,6 +583,9 @@ static void imx_ssi_ac97_warm_reset(stru
 
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 = {

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[02/74] ASoC: imx-ssi: Fix occasional AC97 reset failure

2013-04-07 Thread Ben Hutchings
3.2.43-rc1 review patch.  If anyone has any objections, please let me know.

--

From: Sascha Hauer s.ha...@pengutronix.de

commit b6e51600f4e983e757b1b6942becaa1ae7d82e67 upstream.

Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Signed-off-by: Markus Pargmann m...@pengutronix.de
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings b...@decadent.org.uk
---
 sound/soc/imx/imx-ssi.c |5 +
 1 file changed, 5 insertions(+)

--- a/sound/soc/imx/imx-ssi.c
+++ b/sound/soc/imx/imx-ssi.c
@@ -573,6 +573,8 @@ static void imx_ssi_ac97_reset(struct sn
 
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)
@@ -581,6 +583,9 @@ static void imx_ssi_ac97_warm_reset(stru
 
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 = {

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/