aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-11 20:53:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-21 09:39:58 -0700
commitefa80b562ab2afeb1130205ae8190fccf079506c (patch)
tree766942a22b766e9b5a43d57ac1f1c3a932fd3db4 /arch/arm/mach-orion5x
parentcb68af469fa453694a03553c6efd0681f2c5264f (diff)
downloadkernel_samsung_smdk4412-efa80b562ab2afeb1130205ae8190fccf079506c.zip
kernel_samsung_smdk4412-efa80b562ab2afeb1130205ae8190fccf079506c.tar.gz
kernel_samsung_smdk4412-efa80b562ab2afeb1130205ae8190fccf079506c.tar.bz2
regulator: Fix the logic to ensure new voltage setting in valid range
commit f55205f4d4a8823a11bb8b37ef2ecbd78fb09463 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>
Diffstat (limited to 'arch/arm/mach-orion5x')
0 files changed, 0 insertions, 0 deletions