OpenCloudOS-Kernel/sound/soc/sh/rcar
Kuninori Morimoto 61c7dbec33
ASoC: rsnd: don't call clk_disable_unprepare() if can't use
We need to care clock accessibility,
because we might can't use clock for some reasons.

It sets clk_rate for each clocks when enabled.
This means it doesn't have clk_rate if we can't use.
We can avoid to call clk_disable_unprepare() in such case.

Link: https://lore.kernel.org/r/CAMuHMdWvB+p=2JqTsO7bR8uJqKqO5A2XgXFXsVAjHk3hcxgcTw@mail.gmail.com
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87eejpgoi9.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-12-17 14:24:42 +00:00
..
Makefile ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
adg.c ASoC: rsnd: don't call clk_disable_unprepare() if can't use 2020-12-17 14:24:42 +00:00
cmd.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
core.c ASoC: sh: use asoc_substream_to_rtd() 2020-07-23 19:07:25 +01:00
ctu.c ASoC: rsnd: fixup mod ID calculation in rsnd_ctu_probe_ 2019-06-18 19:17:39 +01:00
dma.c Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.5 2019-11-06 16:29:34 +00:00
dvc.c Merge branch 'for-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-4.21 intel dep 2018-12-13 14:36:46 +00:00
gen.c SoC: rsnd: add interrupt support for SSI BUSIF buffer 2020-05-12 10:56:21 +01:00
mix.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
rsnd.h ASoC: rsnd: don't use discriminatory terms for function names 2020-07-14 16:38:20 +01:00
src.c ASoC: rsnd: src: fix compiler warnings 2019-03-11 16:59:04 +00:00
ssi.c ASoC: rsnd: don't use discriminatory terms for function names 2020-07-14 16:38:20 +01:00
ssiu.c ASoC: rsnd: don't use discriminatory terms for function names 2020-07-14 16:38:20 +01:00