commit | 7179569aeb52197fd2a9909ba226c4c9cc0e2e2a | [log] [tgz] |
---|---|---|
author | Heiko Stübner <heiko@sntech.de> | Thu Aug 28 12:36:04 2014 -0700 |
committer | Mark Brown <broonie+linaro@kernel.org> | Fri Aug 29 11:58:31 2014 +0100 |
tree | 39757ab5ecbc23dc54a7b8489f4b104156439364 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 [diff] |
regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) In some cases we need to know when a regulator is about to be changed. Add a way for clients to be notified. Note that for set_voltage() we don't necessarily know what voltage we'll end up with, so we tell the client what the range will be so they can prepare. Signed-off-by: Heiko Stübner <heiko@sntech.de> Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Mark Brown <broonie+linaro@kernel.org>