summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-10-16 09:21:44 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2021-10-19 14:02:58 +0300
commitce5f6c2c9b0fcb4094f8e162cfd37fb4294204f7 (patch)
tree298963dc000c2f4cfc2c3b7095754ed33a183115 /drivers/memstick
parenta1e97bd2e0773fd8459f9f78ab923f69d5647571 (diff)
downloadlinux-ce5f6c2c9b0fcb4094f8e162cfd37fb4294204f7.tar.xz
mmc: mxs-mmc: disable regulator on error and in the remove function
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: 4dc5a79f1350 ("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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions