]> Pileus Git - ~andy/linux/commit
regulator: palmas: Don't update tstep register for SMPS3 and SMPS7
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Apr 2013 06:18:48 +0000 (14:18 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 19 Apr 2013 10:47:29 +0000 (11:47 +0100)
commitf22c2bae2e9ca75174614d7fdccc206b2b062138
tree38e141643ffa720e63776c0dd4134c06b9c81097
parent3df4a81c467e1f05188b3d93ebebfd633df58c5e
regulator: palmas: Don't update tstep register for SMPS3 and SMPS7

SMPS3 and SMPS7 do not have tstep_addr setting, so current code actually
writes 0 to smps12_ctl (offset is 0) register when set_ramp_delay callback
is called for SMPS3 and SMPS7.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/palmas-regulator.c