Files
linux/drivers
Christophe JAILLET 5e1989e7c5 mmc: mxs-mmc: disable regulator on error and in the remove function
[ Upstream commit ce5f6c2c9b ]

The 'reg_vmmc' regulator is enabled in the probe. It is never disabled.
Neither in the error handling path of the probe nor in the remove
function.

Register a devm_action to disable it when needed.

Fixes: 4dc5a79f13 ("mmc: mxs-mmc: enable regulator for mmc slot")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4aadb3c97835f7b80f00819c3d549e6130384e67.1634365151.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 12:14:50 +09:00
..
2023-05-16 12:08:57 +09:00
2023-05-16 12:12:51 +09:00
2023-05-16 11:44:46 +09:00
2023-05-16 12:14:47 +09:00
2023-05-16 09:58:13 +09:00
2023-05-15 16:59:11 +09:00