]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: Fix "status check failed" spam for multi-SSI
authorMatthias Blankertz <matthias.blankertz@cetitec.com>
Fri, 17 Apr 2020 15:30:17 +0000 (17:30 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2020 13:16:18 +0000 (14:16 +0100)
commite634010b744263681f7f2bc9b9af21c18582678d
treef05d20ee6f6e719037a389a2bc017c214ad5a4bb
parentf7ec03a2916db83548a667af009274c54db0ae03
ASoC: rsnd: Fix "status check failed" spam for multi-SSI

Fix the rsnd_ssi_stop function to skip disabling the individual SSIs of
a multi-SSI setup, as the actual stop is performed by rsnd_ssiu_stop_gen2
- the same logic as in rsnd_ssi_start. The attempt to disable these SSIs
was harmless, but caused a "status check failed" message to be printed
for every SSI in the multi-SSI setup.
The disabling of interrupts is still performed, as they are enabled for
all SSIs in rsnd_ssi_init, but care is taken to not accidentally set the
EN bit for an SSI where it was not set by rsnd_ssi_start.

Signed-off-by: Matthias Blankertz <matthias.blankertz@cetitec.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20200417153017.1744454-3-matthias.blankertz@cetitec.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c