commit | 495353a3f7fbb11e5100c9258365ff65a4834b37 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Mon Oct 26 12:37:11 2009 +0100 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Thu Dec 17 10:27:25 2009 +0000 |
tree | 766596871bc81b4871d169771e1e7f185061667b | |
parent | ddec68107ab101d9ff934811d5598f5c613027f2 [diff] |
regulator: keep index within bounds in da9034_get_ldo12_voltage() If selector equals ARRAY_SIZE(da9034_ldo12_data), that is one too large already. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>