Skip to content

Commit

Permalink
Input: qt2160 - do not hard code interrupt trigger
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dtor committed Jul 29, 2023
1 parent f1fbff6 commit d675c9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/input/keyboard/qt2160.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,7 @@ static int qt2160_probe(struct i2c_client *client)

if (client->irq) {
error = request_threaded_irq(client->irq, NULL, qt2160_irq,
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
"qt2160", input);
IRQF_ONESHOT, "qt2160", input);
if (error) {
dev_err(&client->dev,
"failed to allocate irq %d\n", client->irq);
Expand Down

0 comments on commit d675c9b

Please sign in to comment.