projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c931801
)
[targets] get rid of the IRQF_SAMPLE_RANDOM flag
author
Florian Fainelli
<florian@openwrt.org>
Wed, 26 Sep 2012 12:53:58 +0000
(12:53 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 26 Sep 2012 12:53:58 +0000
(12:53 +0000)
SVN-Revision: 33558
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
target/linux/atheros/patches-3.3/110-ar2313_ethernet.patch
patch
|
blob
|
history
target/linux/brcm2708/patches-3.3/0005-bcm2708-vchiq-driver.patch
patch
|
blob
|
history
target/linux/omap24xx/patches-3.3/315-n800-touchscreen-and-keypad-drivers.patch
patch
|
blob
|
history
target/linux/s3c24xx/files-2.6.30/drivers/input/touchscreen/s3c2410_ts.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index cf6d789c296b458e23e61078159683ef1aedd172..7e0ff02e157b7649de1656b7efe2f7b441e4c0ca 100644
(file)
--- a/
package/broadcom-diag/src/diag.c
+++ b/
package/broadcom-diag/src/diag.c
@@
-1297,7
+1297,7
@@
static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *))
if (irq == -EINVAL) return;
if (enabled) {
if (irq == -EINVAL) return;
if (enabled) {
- if (request_irq(irq, handler, IRQF_SHARED
| IRQF_SAMPLE_RANDOM
, "gpio", handler))
+ if (request_irq(irq, handler, IRQF_SHARED, "gpio", handler))
return;
} else {
free_irq(irq, handler);
return;
} else {
free_irq(irq, handler);
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 47c9dd622b754023c14c761e605f1919f451deed..838ea8936ff2fa544c9044d2486de8407ea9d0d1 100644
(file)
--- 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,
+ */
+ 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",
+ 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 bee41d712ed0e7c4587777225ff56fd3bbb99a4f..47c6d8e8751357d27961d3a6ab96dfecc50f5a9b 100644
(file)
--- 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,
+ }
+
+ err = request_irq(VCHIQ_DOORBELL_IRQ, vchiq_doorbell_irq,
-+ IRQF_
SAMPLE_RANDOM | IRQF_
IRQPOLL, "VCHIQ doorbell",
++ IRQF_IRQPOLL, "VCHIQ doorbell",
+ state);
+ if (err < 0)
+ {
+ 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 799c1de09f9fa886bce9ee9fff22ef4b77cc845a..106a5d80c830eda9a2ae5f7a76c142d96ab3df49 100644
(file)
--- 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);
+
+
+ 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");
+ "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,
+ 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");
+ "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 f980bfcce4cf2dd4654553d9bd956e08ec8da353..93163ff509f6f57121495bc2ea376992279ae5e2 100644
(file)
--- 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 */
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;
}
"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);
"s3c2410_action", ts.dev)) {
dev_err(&pdev->dev, "Could not allocate ts IRQ_TC !\n");
free_irq(IRQ_ADC, ts.dev);