diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-08-25 10:33:57 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-09-14 12:53:47 +0300 |
commit | 5cbedf52608cc3cbc1c2a9a861fb671620427a20 (patch) | |
tree | fbfc98b058952d7a12451465370fee90af6c5b53 /drivers/mmc/host/jz4740_mmc.c | |
parent | af51ef51a8df42de64d643c50cf7d5925fb76df0 (diff) | |
download | linux-5cbedf52608cc3cbc1c2a9a861fb671620427a20.tar.xz |
mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
If clk_prepare_enable() fails, there is no point in calling
clk_disable_unprepare() in the error handling path.
Move the out_clk label at the right place.
Fixes: b6507596dfd6 ("MIPS: Alchemy: au1xmmc: use clk framework")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/21d99886d07fa7fcbec74992657dabad98c935c4.1661412818.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/jz4740_mmc.c')
0 files changed, 0 insertions, 0 deletions