regulator: palmas: Correct TPS659038 register definition for REGEN2
authorKeerthy <j-keerthy@ti.com>
Tue, 17 Mar 2015 10:26:04 +0000 (15:56 +0530)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 17 Apr 2015 00:13:16 +0000 (20:13 -0400)
commit3d8fc13835497f122ba638f96d72c71063586f4f
treef4e6b092ea4add7b1ae961286fceb2afff8f6a02
parentbac01bf2da68672590990f13e8d1e9c0b1c6ed63
regulator: palmas: Correct TPS659038 register definition for REGEN2

[ Upstream commit e03826d5045e81a66a4fad7be9a8ecdaeb7911cf ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h