Skip to content
Unverified Commit 116679ae authored by Peng Wu's avatar Peng Wu Committed by Mark Brown
Browse files

spi: micro: fix unreasonable clk_prepare_enable() on error in mchp_corespi_probe()



Fix the unreasonable clk_prepare_enable() with clk_disable_unprepare()
before return from mchp_corespi_probe() in the error handling case.

Signed-off-by: default avatarPeng Wu <wupeng58@huawei.com>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220611021117.40494-1-wupeng58@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c349fad3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment