regulator: stw481x-vmmc: fix ages old enable error
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Nov 2016 14:22:38 +0000 (15:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:07:43 +0000 (08:07 +0100)
commit96ea1b9ea0996a563b3dd983f636424e92c11143
treebfe2561cede7838c98f815b88ee73c37ee403f71
parent842ec27cd3f2d9d1f4a8c5900f2e41be864e9d49
regulator: stw481x-vmmc: fix ages old enable error

commit 295070e9aa015abb9b92cccfbb1e43954e938133 upstream.

The regulator has never been properly enabled, it has been
dormant all the time. It's strange that MMC was working
at all, but it likely worked by the signals going through
the levelshifter and reaching the card anyways.

Fixes: 3615a34ea1a6 ("regulator: add STw481x VMMC driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/stw481x-vmmc.c