Searched hist:116679 (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/spi/
H A Dspi-microchip-core.cdiff 116679ae Fri Jun 10 20:11:17 MDT 2022 Peng Wu <wupeng58@huawei.com> 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: Peng Wu <wupeng58@huawei.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220611021117.40494-1-wupeng58@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>

Completed in 112 milliseconds