regulator: palmas: Add missing ctrl_addr setting for SMPS10
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Apr 2013 12:33:45 +0000 (20:33 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Apr 2013 12:27:16 +0000 (13:27 +0100)
commite31089c608ae8fa323c5f9c3a2fa208d25e052a6
treef248697c55d53a2c677c496bee3ebd39ea465288
parentf22c2bae2e9ca75174614d7fdccc206b2b062138
regulator: palmas: Add missing ctrl_addr setting for SMPS10

The ctrl_addr setting for SMPS10 is missed, thus palmas_smps_init() read/write
wrong register for SMPS10 in current code. Fix it.

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