projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0867c49
)
mfd: 88pm800: Replace irqchip mask_invert with unmask_base
author
Aidan MacDonald
<aidanmacdonald.0x0@gmail.com>
Sat, 12 Nov 2022 15:18:18 +0000
(15:18 +0000)
committer
Lee Jones
<lee@kernel.org>
Wed, 7 Dec 2022 13:28:13 +0000
(13:28 +0000)
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-2-aidanmacdonald.0x0@gmail.com
drivers/mfd/88pm800.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/88pm800.c
b/drivers/mfd/88pm800.c
index 4d139cc31c25f2b40e82444057c45763ffd39b3d..4d9b61b927544f2850ac85ffe2e9975c8528b53f 100644
(file)
--- a/
drivers/mfd/88pm800.c
+++ b/
drivers/mfd/88pm800.c
@@
-398,9
+398,8
@@
static struct regmap_irq_chip pm800_irq_chip = {
.num_regs = 4,
.status_base = PM800_INT_STATUS1,
- .mask_base = PM800_INT_ENA_1,
+ .
un
mask_base = PM800_INT_ENA_1,
.ack_base = PM800_INT_STATUS1,
- .mask_invert = 1,
};
static int pm800_pages_init(struct pm80x_chip *chip)