]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: renesas_sdhi: disable clocks if registering regulator failed
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 30 Mar 2025 22:17:32 +0000 (00:17 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Apr 2025 15:58:41 +0000 (17:58 +0200)
commit77183db6b8dbd8c352816030b328dd55993dc330
tree1011f85570d18eac95583deaa93e0fa731c0ba6f
parent9078f01fec1275a1974a01a64a5a495d72898c60
mmc: renesas_sdhi: disable clocks if registering regulator failed

Because the clocks were just enabled, bail out to the proper target if
there are problems with the regulator.

Fixes: fae80a99dc03 ("mmc: renesas_sdhi: Add support for RZ/G3E SoC")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20250330221732.56072-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c