Skip to content

Commit d675c9b

Browse files
committed
Input: qt2160 - do not hard code interrupt trigger
Rely on the platform and ACPI/DT to set up the interrupt trigger. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent f1fbff6 commit d675c9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/input/keyboard/qt2160.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ static int qt2160_probe(struct i2c_client *client)
371371

372372
if (client->irq) {
373373
error = request_threaded_irq(client->irq, NULL, qt2160_irq,
374-
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
375-
"qt2160", input);
374+
IRQF_ONESHOT, "qt2160", input);
376375
if (error) {
377376
dev_err(&client->dev,
378377
"failed to allocate irq %d\n", client->irq);

0 commit comments

Comments
 (0)