summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-09-07 18:31:35 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-09 13:59:15 +0300
commit45ccf6556720293323c20cda717756014ff63007 (patch)
tree96d0f7dd134ec40d5baaed2ff278f4c975508f8b /ipc
parent214b0e1ad01abf4c1f6d8d28fa096bf167e47cef (diff)
downloadlinux-45ccf6556720293323c20cda717756014ff63007.tar.xz
gpio: siox: explicitly support only threaded irqs
The gpio-siox driver uses handle_nested_irq() to implement its interrupt support. This is only capable of handling threaded irq actions. For a hardirq action it triggers a NULL pointer oops. (It calls action->thread_fn which is NULL then.) Prevent registration of a hardirq action by setting gpio_irq_chip::threaded to true. Cc: u.kleine-koenig@pengutronix.de Fixes: be8c8facc707 ("gpio: new driver to work with a 8x12 siox") Cc: stable@vger.kernel.org Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions