Home
last modified time | relevance | path

Searched hist:"2093 bcd872321a5301470978231b23cc121e3476" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-xlp.cdiff 2093bcd872321a5301470978231b23cc121e3476 Mon Mar 20 10:55:16 CET 2023 Linus Walleij <linus.walleij@linaro.org> gpio: xlp: Convert to immutable irq_chip

Convert the driver to immutable irq-chip with a bit of
intuition.

In this case the driver uses .mask_ack() and .unmask()
and since I have a vague idea about the semantics of
.mask_ack() I added .irq_enable() to the existing .irq_disable()
and called into the gpiolib core from those callbacks
instead of mask/unmask.

Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>