]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: dwapb: Fix missing conversion to GPIO-lib-based IRQ-chip
authorJia He <justin.he@arm.com>
Fri, 16 Oct 2020 15:35:44 +0000 (23:35 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 26 Oct 2020 14:48:25 +0000 (15:48 +0100)
commit29af1eb55c543be441f79ef745501602738ea199
tree61954b5e8c8c9de9cb79d5255cdeec27dddbcd34
parenta1fe7c755400af92f0070a66f48f00b659aeacac
gpio: dwapb: Fix missing conversion to GPIO-lib-based IRQ-chip

Commit d7470b18ab8a ("gpio: dwapb: Convert driver to using the
GPIO-lib-based IRQ-chip") missed the case in dwapb_irq_set_wake().

Without this fix, probing the dwapb gpio driver will hit a error:
"address between user and kernel address ranges" on a Ampere armv8a
server and cause a panic.

Fixes: d7470b18ab8a ("gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip")
Signed-off-by: Jia He <justin.he@arm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-dwapb.c