diff options
author | Keerthy <j-keerthy@ti.com> | 2015-03-17 15:56:04 +0530 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-04-16 20:13:16 -0400 |
commit | 3d8fc13835497f122ba638f96d72c71063586f4f (patch) | |
tree | f4e6b092ea4add7b1ae961286fceb2afff8f6a02 /include | |
parent | bac01bf2da68672590990f13e8d1e9c0b1c6ed63 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/palmas.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index fb0390a1a498..ee7b1ce7a6f8 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -2999,6 +2999,9 @@ enum usb_irq_events { #define PALMAS_GPADC_TRIM15 0x0E #define PALMAS_GPADC_TRIM16 0x0F +/* TPS659038 regen2_ctrl offset iss different from palmas */ +#define TPS659038_REGEN2_CTRL 0x12 + /* TPS65917 Interrupt registers */ /* Registers for function INTERRUPT */ |