commit | 3a93f2a9f4d8f73d74c0e552feb68a10f778a219 | [log] [tgz] |
---|---|---|
author | Mark Brown <[email protected]> | Wed Nov 10 14:38:29 2010 +0000 |
committer | Liam Girdwood <[email protected]> | Wed Jan 12 14:32:59 2011 +0000 |
tree | 8a9f503f2f061ad3fe9712b0986b0da346f4c8d2 | |
parent | 63cee946148821bca42be10130b061c2d0f5af7e [diff] |
regulator: Report actual configured voltage to set_voltage() Change the interface used by set_voltage() to report the selected value to the regulator core in terms of a selector used by list_voltage(). This allows the regulator core to know the voltage that was chosen without having to do an explict get_voltage(), which would be much more expensive as it will generally access hardware. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>