diff options
author | Manikanta Guntupalli <manikanta.guntupalli@amd.com> | 2023-06-09 00:12:52 +0530 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-06-13 11:48:54 +0200 |
commit | f5691439353783ef114876849c70d2a641e09498 (patch) | |
tree | 46b5ac1860b1a741ac4d515576607bd4c15580cb /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8507f35447e6e51c15a7172ecc81c4219017d476 (diff) |
gpio: zynq: fix zynqmp_gpio not an immutable chip warning
Make the struct irq_chip const and flag it as IRQCHIP_IMMUTABLE,
call gpiochip_disable_irq() in the .irq_mask() callback and
gpiochip_enable_irq() in the .irq_unmask() callback to fix
"gpio gpiochip1: (zynqmp_gpio): not an immutable chip" warning.
Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions