Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f31ad406 authored by Stephen Warren's avatar Stephen Warren Committed by Dmitry Torokhov
Browse files

Input: mpu3050 - set IRQF_ONESHOT when requesting the interrupt



Commit 1c6c6952 "genirq: Reject bogus threaded irq requests" requires
that request_threaded_irq() either be passed an explicit handler, or
that IRQF_ONESHOT be set. Set this flag.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 46f49b7a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -367,7 +367,7 @@ static int __devinit mpu3050_probe(struct i2c_client *client,

	error = request_threaded_irq(client->irq,
				     NULL, mpu3050_interrupt_thread,
				     IRQF_TRIGGER_RISING,
				     IRQF_TRIGGER_RISING | IRQF_ONESHOT,
				     "mpu3050", sensor);
	if (error) {
		dev_err(&client->dev,