mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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/20230724051345.335219-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
f1fbff609a
commit
d675c9b573
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue