diff options
| author | Kuninori Morimoto <[email protected]> | 2021-06-02 08:43:50 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-06-03 13:56:40 +0100 |
| commit | cb2f97d89f383dafa822bce66f0c3514dfb135b8 (patch) | |
| tree | 774108822b3935f999cd026013a3c2b4a5972fa0 /tools/perf/scripts/python/bin | |
| parent | b48e4aa48931030382d26c624cf4ae1c68d15666 (diff) | |
ASoC: rsnd: adg: use more simple method for null_clk
commit 965386c97616c ("ASoC: rsnd: call unregister for null_hw when
removed") tried unregister null_clk, but it has some issues.
1st issue is kernel will indicate below message when unregistering,
because of its timing. unregistering should be happen after clk_disable().
clk_unregister: unregistering prepared clock: rsnd_adg_null
2nd issue is, it is using priv->null_clk, but it should be adg->null_clk.
3rd issue is it is using very complex clk registering method.
more simple clk_register/unregister_fixed_rate() should be OK.
This patch fixes these.
Fixes: 965386c97616c ("ASoC: rsnd: call unregister for null_hw when removed")
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions