From: Kuninori Morimoto Date: Thu, 27 Nov 2014 08:05:44 +0000 (+0000) Subject: ASoC: rsnd: clear status register when HW start X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ba84f45231c19af2ca281273e4fca8df65de341;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ASoC: rsnd: clear status register when HW start Let's clear SSI status when HW start Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- 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",