Skip to content

Commit

Permalink
drv2624_haptic: Make IRQ handler explicitly threaded
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Winkowski <[email protected]>
  • Loading branch information
dereference23 committed Jun 18, 2023
1 parent 28426d7 commit bc13484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/misc/drv2624_haptic/drv2624.c
Original file line number Diff line number Diff line change
Expand Up @@ -2162,8 +2162,8 @@ static int drv2624_i2c_probe(struct i2c_client *client,
pDRV2624->mnIRQ = gpio_to_irq(pDRV2624->msPlatData.mnGpioINT);
dev_dbg(pDRV2624->dev, "irq = %d \n", pDRV2624->mnIRQ);
nResult =
request_threaded_irq(pDRV2624->mnIRQ, drv2624_irq_handler,
NULL,
request_threaded_irq(pDRV2624->mnIRQ, NULL,
drv2624_irq_handler,
IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
client->name, pDRV2624);
if (nResult < 0) {
Expand Down

0 comments on commit bc13484

Please sign in to comment.