regulator: as3722: sd1 external control only during suspend
authorBibek Basu <bbasu@nvidia.com>
Fri, 11 Apr 2014 05:44:13 +0000 (10:44 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Mon, 14 Apr 2014 16:30:52 +0000 (09:30 -0700)
commit12bf98f43527e2b8169c96614a36e274cde2ceca
tree53dff0db6edb87cf2f0107adc8324f606e621e7b
parent3964e8be2fa3bc3e406be5e4dccbf980cc97b1fb
regulator: as3722: sd1 external control only during suspend

If SD1 external control is enabled from boot, it has adverse
effect on power down cycle. Which can lead to long term product
stability. So enable SD1 external control only while going to
to suspend and disable while resuming

Bug 1495458

Change-Id: Ia65bf6f358d15604cea3914914188ce1725b4120
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/395039
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
arch/arm/mach-tegra/board-laguna-power.c
drivers/regulator/as3722-regulator.c