mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
regulator: stw481x-vmmc: fix ages old enable error
commit295070e9aa
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:3615a34ea1
("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>
This commit is contained in:
parent
cee9358454
commit
dbcde92b1b
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ static struct regulator_desc vmmc_regulator = {
|
||||||
.volt_table = stw481x_vmmc_voltages,
|
.volt_table = stw481x_vmmc_voltages,
|
||||||
.enable_time = 200, /* FIXME: look this up */
|
.enable_time = 200, /* FIXME: look this up */
|
||||||
.enable_reg = STW_CONF1,
|
.enable_reg = STW_CONF1,
|
||||||
.enable_mask = STW_CONF1_PDN_VMMC,
|
.enable_mask = STW_CONF1_PDN_VMMC | STW_CONF1_MMC_LS_STATUS,
|
||||||
|
.enable_val = STW_CONF1_PDN_VMMC,
|
||||||
.vsel_reg = STW_CONF1,
|
.vsel_reg = STW_CONF1,
|
||||||
.vsel_mask = STW_CONF1_VMMC_MASK,
|
.vsel_mask = STW_CONF1_VMMC_MASK,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue