Re: [PATCH 1/2] regulator: tps6586x-regulator - fix value range checking for val
On Sun, Aug 22, 2010 at 10:38:15PM +0800, Axel Lin wrote: > val is used as array index of ri->voltages. > Thus the valid value range should be 0 .. ri->desc.n_voltages - 1. > > Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>