summaryrefslogtreecommitdiff
path: root/drivers/regulator/fixed.c
diff options
context:
space:
mode:
authorKevin Liu <kliu5@marvell.com>2012-01-04 15:12:04 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-06 10:56:14 -0800
commit65364e9ab958f4ad21c5c7b6cc8e2e458128dbcb (patch)
tree481535ab2a705f68270015d64fedc67aca10d7e0 /drivers/regulator/fixed.c
parente1de2f423462a5c6ba2c902dff1f5ddd8d3dbde3 (diff)
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 <kliu5@marvell.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/fixed.c')
0 files changed, 0 insertions, 0 deletions