diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-11-12 15:18:21 +0000 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-12-07 13:28:14 +0000 |
commit | 3576fc04594989426c61c8b46dfcc986b6f76a22 (patch) | |
tree | 4e4debad6ea364a319c094de14f0785db506cd67 /drivers/mfd/gateworks-gsc.c | |
parent | acc247b2870cb5bccf6dadd5c2686a1d8d1275e0 (diff) | |
download | linux-stable-3576fc04594989426c61c8b46dfcc986b6f76a22.tar.gz linux-stable-3576fc04594989426c61c8b46dfcc986b6f76a22.tar.bz2 linux-stable-3576fc04594989426c61c8b46dfcc986b6f76a22.zip |
mfd: gateworks-gsc: 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-5-aidanmacdonald.0x0@gmail.com
Diffstat (limited to 'drivers/mfd/gateworks-gsc.c')
-rw-r--r-- | drivers/mfd/gateworks-gsc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c index 9d7d870c44a8..c954ed265de8 100644 --- a/drivers/mfd/gateworks-gsc.c +++ b/drivers/mfd/gateworks-gsc.c @@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = { .num_irqs = ARRAY_SIZE(gsc_irqs), .num_regs = 1, .status_base = GSC_IRQ_STATUS, - .mask_base = GSC_IRQ_ENABLE, - .mask_invert = true, + .unmask_base = GSC_IRQ_ENABLE, .ack_base = GSC_IRQ_STATUS, .ack_invert = true, }; |