diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-11-27 08:05:44 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-03 18:51:39 +0000 |
commit | 3ba84f45231c19af2ca281273e4fca8df65de341 (patch) | |
tree | e754de8f0626a2b6f31aa6a946de0cb795903323 /sound/soc/sh | |
parent | d1b64056d479a115e02c88ab63bc2406a0c46468 (diff) |
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/sh')
-rw-r--r-- | sound/soc/sh/rcar/ssi.c | 3 |
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", |