]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29a680e98c0712544bd4384e6801cdd821b27fd7
treedb226fc302866c2d24d8c0df02e02607cf8f31b4
parentaa87dcf7fbdb4970f4c8e621d945489f5e218212
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