aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-11-27 08:05:44 +0000
committerMark Brown <broonie@kernel.org>2014-12-03 18:51:39 +0000
commit3ba84f45231c19af2ca281273e4fca8df65de341 (patch)
treee754de8f0626a2b6f31aa6a946de0cb795903323 /sound/soc
parentASoC: rsnd: care SSIWSR register in rsnd_ssi_hw_start() (diff)
downloadlinux-dev-3ba84f45231c19af2ca281273e4fca8df65de341.tar.xz
linux-dev-3ba84f45231c19af2ca281273e4fca8df65de341.zip
ASoC: rsnd: clear status register when HW start
Let's clear SSI status when HW start Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/sh/rcar/ssi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index d67bca9fef2b..3c0d31df6d6c 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",