summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-26 12:53:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-26 12:53:58 +0000
commit4a67ccb16328fcc54a964a48ab54ad2dfe66ae42 (patch)
tree077ccbc48d37655215605b79e41f40c7a220fd34 /target
parent60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450 (diff)
downloadmtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.zip
mtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.gz
mtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.bz2
get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch2
-rw-r--r--target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch2
-rw-r--r--target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch4
-rw-r--r--target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch b/target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch
index 47c9dd6..838ea89 100644
--- a/target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch
@@ -744,7 +744,7 @@
+ */
+ ecode =
+ request_irq(dev->irq, &ar231x_interrupt,
-+ IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
++ IRQF_DISABLED,
+ dev->name, dev);
+ if (ecode) {
+ printk(KERN_WARNING "%s: %s: Requested IRQ %d is busy\n",
diff --git a/target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch b/target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch
index bee41d7..47c6d8e 100644
--- a/target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch
+++ b/target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch
@@ -414,7 +414,7 @@ Signed-off-by: popcornmix <popcornmix@gmail.com>
+ }
+
+ err = request_irq(VCHIQ_DOORBELL_IRQ, vchiq_doorbell_irq,
-+ IRQF_SAMPLE_RANDOM | IRQF_IRQPOLL, "VCHIQ doorbell",
++ IRQF_IRQPOLL, "VCHIQ doorbell",
+ state);
+ if (err < 0)
+ {
diff --git a/target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch b/target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch
index 799c1de..106a5d8 100644
--- a/target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch
+++ b/target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch
@@ -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");
diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c b/target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c
index f980bfc..93163ff 100644
--- a/target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c
+++ b/target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c
@@ -424,14 +424,14 @@ static int __init s3c2410ts_probe(struct platform_device *pdev)
ts_filter_chain_clear(ts.chain);
/* Get irqs */
- if (request_irq(IRQ_ADC, stylus_action, IRQF_SAMPLE_RANDOM,
+ if (request_irq(IRQ_ADC, stylus_action, 0,
"s3c2410_action", ts.dev)) {
dev_err(&pdev->dev, "Could not allocate ts IRQ_ADC !\n");
iounmap(base_addr);
ret = -EIO;
goto bail3;
}
- if (request_irq(IRQ_TC, stylus_updown, IRQF_SAMPLE_RANDOM,
+ if (request_irq(IRQ_TC, stylus_updown, 0,
"s3c2410_action", ts.dev)) {
dev_err(&pdev->dev, "Could not allocate ts IRQ_TC !\n");
free_irq(IRQ_ADC, ts.dev);