diff options
author | 2023-03-09 08:46:03 +0100 | |
---|---|---|
committer | 2023-03-10 16:17:35 +0100 | |
commit | 39575d114fbb377d752d8df25d4795bc29d98042 (patch) | |
tree | 3da1b8d43a1ce230ea5c3a48dc2e31067a4ac917 /drivers/pci/controller/dwc | |
parent | gpio: omap: Drop irq_base (diff) | |
download | wireguard-linux-39575d114fbb377d752d8df25d4795bc29d98042.tar.xz wireguard-linux-39575d114fbb377d752d8df25d4795bc29d98042.zip |
gpio: omap: Convert to immutable irq_chip
Convert the driver to immutable irq-chip with a bit of
intuition.
This driver require some special care: .irq_ack() was copied
from dummy_irq_chip where it was defined as noop. This only
makes sense if using handle_edge_irq() that will unconditionally
call .irq_ack() to avoid a crash, but this driver is not ever
using handle_edge_irq() so just avoid assigning .irq_ack().
A separate chip had to be created for the non-wakeup instance.
Cc: Marc Zyngier <maz@kernel.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions