Skip to content

Commit

Permalink
Input: synaptics-rmi4 - clear IRQ enables for F54
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lucas Stach authored and Dmitry Torokhov committed Nov 13, 2019
1 parent 310ca2a commit 549766a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/rmi4/rmi_f54.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,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;
}
Expand Down

0 comments on commit 549766a

Please sign in to comment.