commit | 84b6826306119dc3c41ef9d7ed6c408112f63301 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Dec 01 21:12:27 2009 +0000 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Wed Mar 03 14:49:23 2010 +0000 |
tree | c80020268cc8b2b62524f4e9f29278332db37310 | |
parent | 6faa7e0a4bb1215fb0a0093a0d426a72599e5982 [diff] |
regulator: Add notifier event on regulator disable The intended use case is for drivers which disable regulators to save power but need to do some work to restore the hardware state when restarting. If the supplies are not actually disabled due to board limits or sharing with other active devices this notifier allows the driver to avoid unneeded reinitialisation, particularly when used with runtime PM. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>