1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[targets] get rid of the IRQF_SAMPLE_RANDOM flag

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33558 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-09-26 12:53:58 +00:00
parent b20bdba44f
commit 62bcd38cc3
5 changed files with 7 additions and 7 deletions

View File

@@ -485,7 +485,7 @@ Touchscreen and keypad are fully functional, audio part only provides power mana
+
+ irq_set_irq_type(kp->irq, IRQ_TYPE_EDGE_FALLING);
+
+ r = request_irq(kp->irq, tsc2301_kp_irq_handler, IRQF_SAMPLE_RANDOM,
+ r = request_irq(kp->irq, tsc2301_kp_irq_handler, 0,
+ "tsc2301-kp", tsc);
+ if (r < 0) {
+ dev_err(&tsc->spi->dev, "unable to get kbirq IRQ");
@@ -1179,7 +1179,7 @@ Touchscreen and keypad are fully functional, audio part only provides power mana
+ tsc2301_ts_start_scan(tsc);
+
+ r = request_irq(ts->irq, tsc2301_ts_irq_handler,
+ IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_FALLING,
+ IRQF_TRIGGER_FALLING,
+ "tsc2301-ts", tsc);
+ if (r < 0) {
+ dev_err(&tsc->spi->dev, "unable to get DAV IRQ");