diff options
author | Gaosheng Cui <[email protected]> | 2022-11-25 15:37:57 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2022-12-27 09:53:52 +0100 |
commit | 340cb392a038cf70540a4cdf2e98a247c66b6df4 (patch) | |
tree | ff642b5dca5cb20d2490ae21e75352676f45e2bd /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | ef86b2c2807f41c045e5534d8513a8b83f63bc39 (diff) |
memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
The clk_disable_unprepare() should be called in the error handling
of caps->has_mpddr_clk, fix it by replacing devm_clk_get and
clk_prepare_enable by devm_clk_get_enabled.
Fixes: e81b6abebc87 ("memory: add a driver for atmel ram controllers")
Signed-off-by: Gaosheng Cui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions