diff options
author | Axel Lin <[email protected]> | 2010-09-06 14:06:07 +0800 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2010-09-06 11:14:47 +0100 |
commit | 8ecee36adc9d2cf19471c395af6ef70264dec251 (patch) | |
tree | 60575479d2ec6b31ab8bb852e351409a66aac571 /tools/perf/util/trace-event-scripting.c | |
parent | e260999c66768c2fccd9da8c3918b4e0e5121b3a (diff) |
regulator: wm8350-regulator - fix the logic of checking REGULATOR_MODE_STANDBY mode
In wm8350_dcdc_set_mode(), we set DCx_SLEEP bit of WM8350_DCDC_SLEEP_OPTIONS
register for REGULATOR_MODE_STANDBY mode.
( DCx_SLEEP bits: 0: Normal DC-DC operation 1: Select LDO mode )
In wm8350_dcdc_get_mode(), current logic to determinate
REGULATOR_MODE_STANDBY mode is just reverse.
( sleep is set should mean REGULATOR_MODE_STANDBY mode. )
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions