summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-26 09:34:14 +0200
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-07-27 12:29:23 +0200
commit979da89a9c230381ca55ea0764428a5d42a01e7f (patch)
tree0bce5a6e5c147cddaba8b6c455a00039b45993c3 /kernel
parentLinux 2.6.35-rc6 (diff)
downloadlinux-979da89a9c230381ca55ea0764428a5d42a01e7f.tar.xz
linux-979da89a9c230381ca55ea0764428a5d42a01e7f.zip
ab3100: fix off-by-one value range checking for voltage selector
We use voltage selector as an array index for typ_voltages. Thus the valid range for voltage selector should be 0..voltages_len-1. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions