projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b6405
)
ASoC: rsnd: clear status register when HW start
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 27 Nov 2014 08:05:44 +0000
(08:05 +0000)
committer
Mark Brown
<broonie@kernel.org>
Wed, 3 Dec 2014 18:51:39 +0000
(18:51 +0000)
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>
sound/soc/sh/rcar/ssi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/ssi.c
b/sound/soc/sh/rcar/ssi.c
index d67bca9fef2b3fe29bdcba603840884dcf6de19a..3c0d31df6d6c7d6c957c6a000028017aba3da5af 100644
(file)
--- 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",