git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b07e7
)
regulator: core: Handle fixed voltage in map_voltage_linear
author
Axel Lin
<axel.lin@gmail.com>
Thu, 7 Jun 2012 02:05:14 +0000
(10:05 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:29:11 +0000
(07:29 +0800)
Fixed voltage is a kind of linear mapping where n_voltages is 1.
This change allows [list|map]_voltage_linear to be used for fixed
voltage.
For fixed voltage, n_voltages is 1 and the only valid selector is 0.
Thus we actually don't care the uV_step setting.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found