projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23eb66f
)
Input: synaptics-rmi4 - clear IRQ enables for F54
author
Lucas Stach
<l.stach@pengutronix.de>
Wed, 13 Nov 2019 00:47:08 +0000
(16:47 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 08:51:56 +0000
(09:51 +0100)
commit
549766ac2ac1f6c8bb85906bbcea759541bb19a2
upstream.
The driver for F54 just polls the status and doesn't even have a IRQ
handler registered. Make sure to disable all F54 IRQs, so we don't crash
the kernel on a nonexistent handler.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link:
https://lore.kernel.org/r/20191105114402.6009-1-l.stach@pengutronix.de
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/rmi4/rmi_f54.c
patch
|
blob
|
history
diff --git
a/drivers/input/rmi4/rmi_f54.c
b/drivers/input/rmi4/rmi_f54.c
index d8e5205e89754d355d1f189bb95f3d584ac57aec..b83969020641623d1ba16bf87efe818dafec62bf 100644
(file)
--- a/
drivers/input/rmi4/rmi_f54.c
+++ b/
drivers/input/rmi4/rmi_f54.c
@@
-617,7
+617,7
@@
static int rmi_f54_config(struct rmi_function *fn)
{
struct rmi_driver *drv = fn->rmi_dev->driver;
- drv->
set
_irq_bits(fn->rmi_dev, fn->irq_mask);
+ drv->
clear
_irq_bits(fn->rmi_dev, fn->irq_mask);
return 0;
}