diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-11-12 15:18:30 +0000 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-12-07 13:28:15 +0000 |
commit | cdd13e7260b288fed9ef612f766ba02431947033 (patch) | |
tree | 06b295eb3b273219a29f2be34ff8eab2c24d98b6 | |
parent | 4627ecec79dfa85b02856e89fab152b4a749c091 (diff) | |
download | linux-stable-cdd13e7260b288fed9ef612f766ba02431947033.tar.gz linux-stable-cdd13e7260b288fed9ef612f766ba02431947033.tar.bz2 linux-stable-cdd13e7260b288fed9ef612f766ba02431947033.zip |
mfd: rt5120: Replace irqchip mask_invert with unmask_base
Remove use of the deprecated mask_invert flag. Inverted mask
registers (where a '1' bit enables an IRQ) can be described more
directly as an unmask register.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221112151835.39059-14-aidanmacdonald.0x0@gmail.com
-rw-r--r-- | drivers/mfd/rt5120.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/rt5120.c b/drivers/mfd/rt5120.c index 8046e383bc92..829b7a0a0781 100644 --- a/drivers/mfd/rt5120.c +++ b/drivers/mfd/rt5120.c @@ -59,9 +59,8 @@ static const struct regmap_irq rt5120_irqs[] = { static const struct regmap_irq_chip rt5120_irq_chip = { .name = "rt5120-pmic", .status_base = RT5120_REG_INTSTAT, - .mask_base = RT5120_REG_INTENABLE, + .unmask_base = RT5120_REG_INTENABLE, .ack_base = RT5120_REG_INTSTAT, - .mask_invert = true, .use_ack = true, .num_regs = 1, .irqs = rt5120_irqs, |