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>
 
 error_release_hardware:
        mchp_corespi_disable(spi);
-       clk_prepare_enable(spi->clk);
+       clk_disable_unprepare(spi->clk);
 error_release_master:
        spi_master_put(master);