mfd: arizona: Hold device in reset while ramping supplies
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 12:15:26 +0000 (12:15 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 13:21:02 +0000 (15:21 +0200)
commit87d3af4ac0554afc2e86069d7578f74b12f3f67a
tree129aca21c5fe3654ca2a13b091c1cb9b1840d383
parent9bf7e0e83fc98642584d0edd97cc6a755b9b36f3
mfd: arizona: Hold device in reset while ramping supplies

Acquire the /RESET GPIO before we enable regulators and hold the device
in reset while the regulators power up in order to improve robustness
during the initial power up.

Also fix the error path so that the device is left in reset while we're
at it.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/arizona-core.c