aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-11 20:53:58 +0800
committerBen Hutchings <ben@decadent.org.uk>2012-05-20 22:56:29 +0100
commit42d66f95429ec18ea8d505fc1b90a32aa7d894e4 (patch)
tree00b07b06cc18645640f22c1abcae8d7ff51a96a8 /arch/arm/mach-omap2
parenta2cfa87491c4ef47de3c4e0973ebb457019a3963 (diff)
downloadkernel_samsung_smdk4412-42d66f95429ec18ea8d505fc1b90a32aa7d894e4.zip
kernel_samsung_smdk4412-42d66f95429ec18ea8d505fc1b90a32aa7d894e4.tar.gz
kernel_samsung_smdk4412-42d66f95429ec18ea8d505fc1b90a32aa7d894e4.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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions