mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Input: ar1021_i2c - do not force raising edge IRQ trigger
We should not be forcing edge triggered interrupt, but rather let platform decide the kind of trigger it needs to use. Also, the driver is not quite safe with regard to edge-triggered interrupts as it does not try to kick the controller after requesting/enabling IRQ. Reviewed-By: Christian Gmeiner <[email protected]> Tested-by: Martin Kepplinger <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
95123fc435
commit
61e977b7a4
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ static int ar1021_i2c_probe(struct i2c_client *client,
|
|||
|
||||
error = devm_request_threaded_irq(&client->dev, client->irq,
|
||||
NULL, ar1021_i2c_irq,
|
||||
IRQF_TRIGGER_RISING | IRQF_ONESHOT,
|
||||
IRQF_ONESHOT,
|
||||
"ar1021_i2c", ar1021);
|
||||
if (error) {
|
||||
dev_err(&client->dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue