diff options
author | Kuninori Morimoto <[email protected]> | 2020-12-17 11:28:49 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-12-17 14:24:42 +0000 |
commit | 61c7dbec33777ade95d3db58beec8d7f177868c8 (patch) | |
tree | e4f30f3ac4992f5ae4febd4c7aa8c5b138c7502d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 13733775326ea9eb81c6148ad60c43b8d231a343 (diff) |
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 <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions