diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-10-25 23:55:54 (GMT) |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-28 21:40:32 (GMT) |
commit | ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 (patch) | |
tree | a4e2f4b54fa22e52f3f634d5f5a10c4206e2fa2a /kernel/dma.c | |
parent | da05738e94b644d759f28184a9f0bf875b271c55 (diff) | |
download | linux-fsl-qoriq-ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6.tar.xz |
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>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions