diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-08 01:07:48 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-08 01:07:48 +0200 |
commit | 3c3416abbe3328c2fae054379894614b0c894069 (patch) | |
tree | 679a21e7b4b56124879248e0455a95a42fa80355 /drivers/input/touchscreen/cy8ctmg110_ts.c | |
parent | Input: imx_keypad - check error returned by clk_prepare_enable() (diff) | |
parent | Input: request threaded-only IRQs with IRQF_ONESHOT (diff) | |
download | linux-3c3416abbe3328c2fae054379894614b0c894069.tar.xz linux-3c3416abbe3328c2fae054379894614b0c894069.zip |
Merge branch 'for-linus' to bring in change ensuring that drivers that
use threaded IRQs use IRQF_ONESHOT.
Diffstat (limited to 'drivers/input/touchscreen/cy8ctmg110_ts.c')
-rw-r--r-- | drivers/input/touchscreen/cy8ctmg110_ts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c index 237753ad1031..464f1bf4b61d 100644 --- a/drivers/input/touchscreen/cy8ctmg110_ts.c +++ b/drivers/input/touchscreen/cy8ctmg110_ts.c @@ -251,7 +251,8 @@ static int __devinit cy8ctmg110_probe(struct i2c_client *client, } err = request_threaded_irq(client->irq, NULL, cy8ctmg110_irq_thread, - IRQF_TRIGGER_RISING, "touch_reset_key", ts); + IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "touch_reset_key", ts); if (err < 0) { dev_err(&client->dev, "irq %d busy? error %d\n", client->irq, err); |