commit | 585993932ccc44ab6a8c6dc590a2f3d6b2facb41 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Mar 13 07:15:27 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Mar 13 23:18:03 2012 +0000 |
tree | feb819b4befd6c48c2bb8e68f6f024db8bf3be40 | |
parent | fc56911bc6468c165894e0ca985b1130bb537955 [diff] |
regulator: Fix the logic of tps65910_get_mode We actually clear LDO_ST_ON_BIT for standby mode in tps65910_set_mode. Fix the logic in tps65910_get_mode. Supply state (EEPROM bits): ST[1:0] = 00 : Off ST[1:0] = 01 : On high power (ACTIVE) ST[1:0] = 10 : Off ST[1:0] = 11 : On low power (SLEEP) Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>