From: Kevin Liu Date: Wed, 4 Jan 2012 07:12:04 +0000 (+0800) Subject: regulator: max8925: fix enabled/disabled judgement mistake X-Git-Tag: v3.3-rc1~126^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65364e9ab958f4ad21c5c7b6cc8e2e458128dbcb;p=pandora-kernel.git regulator: max8925: fix enabled/disabled judgement mistake Max8925 ldo status should be determined by two factors: 1. power up/down sequence selection(LDOCTL[4:2]). 2. i2c enable bit(LDOCTL[0]). Max8925 ldo support two types of power up/down sequence: 1. flexible sequence(LDOCTL[4:2] = 0~6). 2. i2c sequence(LDOCTL[4:2] = 7). With flexible sequence selected, the ldo is enabled during power up by default. With i2c sequence selected, the ldo is controlled by the i2c enable bit(LDOCTL[0]). Signed-off-by: Kevin Liu Signed-off-by: Haojian Zhuang Signed-off-by: Mark Brown --- Reading git-diff-tree failed