diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-11-12 16:18:33 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-12-07 14:28:15 +0100 |
commit | 8d9ad03265a4f24bcf904dacdd05a451d6e51cd9 (patch) | |
tree | a12aeee68481ad1f1a18ef3017e5276e2880aa5c /drivers/mfd/sun4i-gpadc.c | |
parent | mfd: stpmic1: Fix swapped mask/unmask in irq chip (diff) | |
download | linux-8d9ad03265a4f24bcf904dacdd05a451d6e51cd9.tar.xz linux-8d9ad03265a4f24bcf904dacdd05a451d6e51cd9.zip |
mfd: sun4i-gpadc: 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>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221112151835.39059-17-aidanmacdonald.0x0@gmail.com
Diffstat (limited to 'drivers/mfd/sun4i-gpadc.c')
-rw-r--r-- | drivers/mfd/sun4i-gpadc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/sun4i-gpadc.c b/drivers/mfd/sun4i-gpadc.c index cfe14d9bf6dc..edc180d83a4b 100644 --- a/drivers/mfd/sun4i-gpadc.c +++ b/drivers/mfd/sun4i-gpadc.c @@ -34,9 +34,8 @@ static const struct regmap_irq_chip sun4i_gpadc_regmap_irq_chip = { .name = "sun4i_gpadc_irq_chip", .status_base = SUN4I_GPADC_INT_FIFOS, .ack_base = SUN4I_GPADC_INT_FIFOS, - .mask_base = SUN4I_GPADC_INT_FIFOC, + .unmask_base = SUN4I_GPADC_INT_FIFOC, .init_ack_masked = true, - .mask_invert = true, .irqs = sun4i_gpadc_regmap_irq, .num_irqs = ARRAY_SIZE(sun4i_gpadc_regmap_irq), .num_regs = 1, |