Home
last modified time | relevance | path

Searched hist:"3 e2a9284" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Danatop-regulator.c3e2a9284 Mon Jul 16 11:10:42 CDT 2012 Axel Lin <axel.lin@gmail.com> regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel

The mask used in anatop_get_voltage_sel does not match the mask used in
anatop_set_voltage_sel.
We need to do left shift anatop_reg->vol_bit_shift bits for the correct mask.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
3e2a9284 Mon Jul 16 11:10:42 CDT 2012 Axel Lin <axel.lin@gmail.com> regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel

The mask used in anatop_get_voltage_sel does not match the mask used in
anatop_set_voltage_sel.
We need to do left shift anatop_reg->vol_bit_shift bits for the correct mask.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>