diff options
author | Felipe Balbi <balbi@ti.com> | 2014-12-26 13:28:21 -0600 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-20 12:52:53 +0000 |
commit | f29ae369a412942e81035984fa3d7a22ddf91fcb (patch) | |
tree | a031c55c67d9f03b17a5f1fbfede5b81a6b780fb /drivers/mfd | |
parent | 773328da243978bebac82bf4c45604281edb6975 (diff) | |
download | op-kernel-dev-f29ae369a412942e81035984fa3d7a22ddf91fcb.zip op-kernel-dev-f29ae369a412942e81035984fa3d7a22ddf91fcb.tar.gz |
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>
Diffstat (limited to 'drivers/mfd')
-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 2243f75..d6b7643 100644 --- a/drivers/mfd/tps65218.c +++ b/drivers/mfd/tps65218.c @@ -204,6 +204,7 @@ static struct regmap_irq_chip tps65218_irq_chip = { .num_regs = 2, .mask_base = TPS65218_REG_INT_MASK1, + .status_base = TPS65218_REG_INT1, }; static const struct of_device_id of_tps65218_match_table[] = { |