summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-11-25 10:01:41 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2022-11-29 13:26:06 +0100
commitc61bfb1cb63ddab52b31cf5f1924688917e61fad (patch)
treec38a73af4af2d28fc6681ccfcc338199f49a3d48 /drivers/mmc/host/sdhci.h
parentmmc: mmc_test: Fix removal of debugfs file (diff)
downloadlinux-c61bfb1cb63ddab52b31cf5f1924688917e61fad.tar.xz
linux-c61bfb1cb63ddab52b31cf5f1924688917e61fad.zip
mmc: mtk-sd: Fix missing clk_disable_unprepare in msdc_of_clock_parse()
The clk_disable_unprepare() should be called in the error handling of devm_clk_bulk_get_optional, fix it by replacing devm_clk_get_optional and clk_prepare_enable by devm_clk_get_optional_enabled. Fixes: f5eccd94b63f ("mmc: mediatek: Add subsys clock control for MT8192 msdc") Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20221125090141.3626747-1-cuigaosheng1@huawei.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
0 files changed, 0 insertions, 0 deletions