]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: renesas-sdhi: Fix error handling in rzg2l_sdhi_setup
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Thu, 19 Oct 2023 14:50:38 +0000 (15:50 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 27 Oct 2023 09:21:28 +0000 (11:21 +0200)
commitfa8422df942d537f562ce3bac365bfcf422759a6
treecd3b05dbd7babcef26438eebb8d239bf3a3fcd50
parentfb428b61819444b9337075f49c72f326f5d12085
mmc: renesas-sdhi: Fix error handling in rzg2l_sdhi_setup

We should ensure that reset_free() is called in the error path.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Fixes: 93c811b7331b ("mmc: renesas-sdhi: Initialize module on RZ/G2L")
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/mmc/renesas-sdhi.c