mmc: meson-gx: Fix an error handling path in meson_mmc_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 7 Aug 2022 06:56:38 +0000 (08:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Aug 2022 14:33:07 +0000 (16:33 +0200)
commitb3e1cf31154136da855f3cb6117c17eb0b6bcfb4
tree5a3e24662855304e01b218c0bbdac120e98514d3
parentcc5d1692600613e72f32af60e27330fe0c79f4fe
mmc: meson-gx: Fix an error handling path in meson_mmc_probe()

The commit in Fixes has introduced a new error handling which should goto
the existing error handling path.
Otherwise some resources leak.

Fixes: 19c6beaa064c ("mmc: meson-gx: add device reset")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/be4b863bacf323521ba3a02efdc4fca9cdedd1a6.1659855351.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c