From: Axel Lin Date: Mon, 12 Mar 2012 23:15:27 +0000 (+0800) Subject: regulator: Fix the logic of tps65910_get_mode X-Git-Tag: v3.4-rc1~168^2~4^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=585993932ccc44ab6a8c6dc590a2f3d6b2facb41;p=pandora-kernel.git 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 Acked-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed