[alsa-devel] [PATCH 07/20] ASoC: rsnd: clear status register when HW start
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Nov 27 09:05:44 CET 2014
From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Let's clear SSI status when HW start
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
sound/soc/sh/rcar/ssi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index d67bca9..3c0d31d 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -214,6 +214,9 @@ static void rsnd_ssi_hw_start(struct rsnd_ssi *ssi,
if (rsnd_dai_is_clk_master(rdai))
rsnd_mod_write(&ssi->mod, SSIWSR, CONT);
+ /* clear error status */
+ rsnd_mod_write(&ssi->mod, SSISR, 0);
+
ssi->usrcnt++;
dev_dbg(dev, "%s[%d] hw started\n",
--
1.7.9.5
More information about the Alsa-devel
mailing list