linux_dsm_epyc7002/sound/soc/sh/rcar
Kuninori Morimoto 3ee9a76a8c
ASoC: rsnd: fixup clock start checker
commit 4d230d1271 ("ASoC: rsnd: fixup not to call clk_get/set under
non-atomic") fixuped clock start timing. But it exchanged clock start
checker from ssi->usrcnt to ssi->rate.

Current rsnd_ssi_master_clk_start() is called from .prepare,
but some player (for example GStreamer) might calls it many times.
In such case, the checker might returns error even though it was not
error. It should check ssi->usrcnt instead of ssi->rate.
This patch fixup it. Without this patch, GStreamer can't switch
48kHz / 44.1kHz.

Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-10-31 10:30:03 +00:00
..
adg.c Merge branch 'asoc-4.19' into asoc-4.20 Cirrus conflict 2018-09-10 18:55:12 +01:00
cmd.c ASoC: rsnd: cmd: Add missing newline to debug message 2018-07-05 11:08:03 +01:00
core.c ASoC: rsnd: use 32bit TDM width as default 2018-10-10 13:28:05 +01:00
ctu.c ASoC: add for_each_dpcm_be() macro 2018-09-20 10:31:20 -07:00
dma.c ASoC: rsnd: fixup SSI clock during suspend/resume modes 2018-09-21 10:03:54 -07:00
dvc.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
gen.c ASoC: rsnd: gen: use tab instead of white-space 2018-09-06 11:12:30 +01:00
Makefile ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
mix.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
rsnd.h ASoC: rsnd: fixup SSI clock during suspend/resume modes 2018-09-21 10:03:54 -07:00
src.c ASoC: add for_each_dpcm_be() macro 2018-09-20 10:31:20 -07:00
ssi.c ASoC: rsnd: fixup clock start checker 2018-10-31 10:30:03 +00:00
ssiu.c ASoC: rsnd: ssiu: Support to init different BUSIF instance 2018-09-03 14:37:19 +01:00