regulator: core: Properly handle the case min_uV < rdev->desc->min_uV in map_voltage_...
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jun 2012 01:52:12 +0000 (09:52 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:15:55 +0000 (07:15 +0800)
commit0bdc81e4e944781a2bcc971f9e3cf24ac7030939
treedb226fc302866c2d24d8c0df02e02607cf8f31b4
parent61663171bea0ccb499f0818234c5be7ea6c4c791
regulator: core: Properly handle the case min_uV < rdev->desc->min_uV in map_voltage_linear

Properly handle the case if the specified min_uV is less than the voltage given
by the lowest selector.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c