]> git.karo-electronics.de Git - mv-sheeva.git/commit
regulator: Add API to re-apply voltage to hardware
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Dec 2010 15:49:36 +0000 (15:49 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:05 +0000 (14:33 +0000)
commit606a25628187ce863b48d43ca42bc0cbe8342de9
tree98057c2d49e5fccb8d9e72d2b961a4f28585afeb
parent27315cf61fb813b3916cecfbfa6932dc9447f3f4
regulator: Add API to re-apply voltage to hardware

When cooperating with an external control source the regulator setup
may be changed underneath the API. Currently consumers can just redo
the regulator_set_voltage() to restore a previously set configuration
but provide an explicit API for doing this as optimsations in the
regulator_set_voltage() implementation will shortly prevent that.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c
include/linux/regulator/consumer.h