regulator: palmas: Correct TPS659038 register definition for REGEN2
authorKeerthy <j-keerthy@ti.com>
Tue, 17 Mar 2015 10:26:04 +0000 (15:56 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2015 12:19:14 +0000 (12:19 +0000)
commite03826d5045e81a66a4fad7be9a8ecdaeb7911cf
treeba8ba98463ac0870da8a0436eed015d64b357ac7
parentc517d838eb7d07bbe9507871fab3931deccff539
regulator: palmas: Correct TPS659038 register definition for REGEN2

The register offset for REGEN2_CTRL in different for TPS659038 chip as when
compared with other Palmas family PMICs. In the case of TPS659038 the wrong
offset pointed to PLLEN_CTRL and was causing a hang. Correcting the same.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h