Files
linux/drivers/regulator
Axel Lin efa80b562a regulator: Fix the logic to ensure new voltage setting in valid range
commit f55205f4d4 upstream.

I think this is a typo.
To ensure new voltage setting won't greater than desc->max,
the equation should be desc->min + desc->step * new_val <= desc->max.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-21 09:39:58 -07:00
..
2011-01-12 14:33:03 +00:00