diff options
author | Felipe Balbi <balbi@ti.com> | 2014-12-26 14:28:21 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-20 07:52:53 -0500 |
commit | f29ae369a412942e81035984fa3d7a22ddf91fcb (patch) | |
tree | a031c55c67d9f03b17a5f1fbfede5b81a6b780fb | |
parent | 773328da243978bebac82bf4c45604281edb6975 (diff) |
mfd: tps65218: Make INT1 our status_base register
If we don't tell regmap-irq that our first status
register is at offset 1, it will try to read offset
zero, which is the chipid register.
Fixes: 44b4dc6 mfd: tps65218: Add driver for the TPS65218 PMIC
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/tps65218.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c index 2243f7588560..d6b764349f9d 100644 --- a/drivers/mfd/tps65218.c +++ b/drivers/mfd/tps65218.c | |||
@@ -204,6 +204,7 @@ static struct regmap_irq_chip tps65218_irq_chip = { | |||
204 | 204 | ||
205 | .num_regs = 2, | 205 | .num_regs = 2, |
206 | .mask_base = TPS65218_REG_INT_MASK1, | 206 | .mask_base = TPS65218_REG_INT_MASK1, |
207 | .status_base = TPS65218_REG_INT1, | ||
207 | }; | 208 | }; |
208 | 209 | ||
209 | static const struct of_device_id of_tps65218_match_table[] = { | 210 | static const struct of_device_id of_tps65218_match_table[] = { |