get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
This commit is contained in:
parent
60eec72adb
commit
4a67ccb163
@ -1297,7 +1297,7 @@ static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *))
|
||||
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);
|
||||
|
@ -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",
|
||||
|
@ -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)
|
||||
+ {
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user