Skip to content

Commit 549766a

Browse files
lynxeye-devdtor
authored andcommitted
Input: synaptics-rmi4 - clear IRQ enables for F54
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 310ca2a commit 549766a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/rmi4/rmi_f54.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ static int rmi_f54_config(struct rmi_function *fn)
601601
{
602602
struct rmi_driver *drv = fn->rmi_dev->driver;
603603

604-
drv->set_irq_bits(fn->rmi_dev, fn->irq_mask);
604+
drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask);
605605

606606
return 0;
607607
}

0 commit comments

Comments
 (0)