summaryrefslogtreecommitdiff
path: root/drivers/regulator/stw481x-vmmc.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14regulator: stw481x-vmmc: fix ages old enable errorLinus Walleij1-1/+2
[ Upstream commit 295070e9aa015abb9b92cccfbb1e43954e938133 ] 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> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
2013-12-09regulator: stw481x-vmmc: use devm_regulator_register()Jingoo Han1-10/+2
Use devm_regulator_register() to make cleanup paths simpler, and remove unnecessary remove(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-10-03regulator: stw481x-vmmc: Set missing .of_match_table to stw481x_vmmc_matchAxel Lin1-0/+1
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-17regulator: add STw481x VMMC driverLinus Walleij1-0/+110
The ST Microelectronics STw481x PMIC used for the Nomadik has one single software-controlled regulator for VMMC. This driver registers directly to the compatible string as there is just one regulator. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>