Messages in this thread | | | Date | Mon, 14 Mar 2011 15:03:30 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v3] Regulator: add suspend-finish API for regulator core. |
| |
On Fri, Mar 11, 2011 at 10:13:59AM +0900, MyungJoo Ham wrote: > The regulator core had suspend-prepare that turns off the regulators > when entering a system-wide suspend. However, it did not have > suspend-finish that pairs with suspend-prepare and the regulator core > has assumed that the regulator devices and their drivers support > autonomous recover at resume.
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
We should be doing this automatically as part of the core but since we've not done that for suspend yet it seems reasonable to apply as-is then fix both the teardown and powerup paths together. Since the code won't be called unless someone explicitly does so there's very little risk here.
| |