commit | ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Oct 26 07:55:54 2010 +0800 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Thu Oct 28 22:40:32 2010 +0100 |
tree | a4e2f4b54fa22e52f3f634d5f5a10c4206e2fa2a | |
parent | da05738e94b644d759f28184a9f0bf875b271c55 [diff] |
regulator: max8952 - fix max8952_set_voltage In current implementation, vid is declared as u8, then "vid == -1" is always false, and "vid >= 0" is always true. Thus change it to s8. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>