mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot
authorAdam Ford <aford173@gmail.com>
Sun, 29 Jan 2017 12:40:15 +0000 (06:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:24:32 +0000 (11:24 +0100)
commitdc554abdaee496a8dd0dbafec7abb83328a575ae
treebb114e034fafda583edc81c530e85a359375fe0f
parentaa1a6cf1586bb0aa7c6585ebaffd7b5e3ae4f040
mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot

commit ad48ed0c5763dc08931407e455dff5acdbe96e81 upstream.

At least two different omap3630/3730 boards booting from MMC1
fail to reboot if the "ti,twl4030-power-idle-osc-off" or
"ti,twl4030-power-idle" compatible flags are set.  This patch will
keep the vmmc1 powered up during reboot allowing the bootloader
to load.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/twl4030-power.c