Skip to content
Commit 7179569a authored by Heiko Stübner's avatar Heiko Stübner Committed by Mark Brown
Browse files

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: default avatarHeiko Stübner <heiko@sntech.de>
Signed-off-by: default avatarDoug Anderson <dianders@chromium.org>
Signed-off-by: default avatarMark Brown <broonie+linaro@kernel.org>
parent 7d1311b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment