staging: irq: Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 7 Sep 2011 08:10:22 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:09:38 +0000 (20:09 +0200)
This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-alsa.c
drivers/staging/cx25821/cx25821-audio-upstream.c
drivers/staging/cx25821/cx25821-core.c
drivers/staging/cx25821/cx25821-video-upstream-ch2.c
drivers/staging/cx25821/cx25821-video-upstream.c
drivers/staging/cxt1e1/linux.c
drivers/staging/lirc/lirc_serial.c
drivers/staging/lirc/lirc_sir.c

index ebdba7c65bc5f467c39ad8c385ab276b23dc177d..09e99de5fd21823194358cd8ca8a9f8f30cb30c7 100644 (file)
@@ -708,7 +708,7 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev)
        chip->irq = dev->pci->irq;
 
        err = request_irq(dev->pci->irq, cx25821_irq,
-                         IRQF_SHARED | IRQF_DISABLED, chip->dev->name, chip);
+                         IRQF_SHARED, chip->dev->name, chip);
 
        if (err < 0) {
                pr_err("ERROR %s: can't get IRQ %d for ALSA\n",
index 50e56a6411255371a3548c4c6e71dcb8ed194bf6..c20d6dece154ee66066c1456b1284f314b89a1ee 100644 (file)
@@ -680,7 +680,7 @@ int cx25821_start_audio_dma_upstream(struct cx25821_dev *dev,
 
        err =
            request_irq(dev->pci->irq, cx25821_upstream_irq_audio,
-                       IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
+                       IRQF_SHARED, dev->name, dev);
        if (err < 0) {
                pr_err("%s: can't get upstream IRQ %d\n",
                       dev->name, dev->pci->irq);
index 3ec58af0e26144e41fd9f3d79943d05cf8228e4d..a7fa38f9594e8356a4a180af2d2b5c85fbaa6474 100644 (file)
@@ -1428,7 +1428,7 @@ static int __devinit cx25821_initdev(struct pci_dev *pci_dev,
        }
 
        err =
-           request_irq(pci_dev->irq, cx25821_irq, IRQF_SHARED | IRQF_DISABLED,
+           request_irq(pci_dev->irq, cx25821_irq, IRQF_SHARED,
                        dev->name, dev);
 
        if (err < 0) {
index 08ac7c1a7bb1f208fb3206f37bea32c30352ab44..2a724ddfa53f1cfa226f8569a7d98dd68647391c 100644 (file)
@@ -693,7 +693,7 @@ int cx25821_start_video_dma_upstream_ch2(struct cx25821_dev *dev,
 
        err =
            request_irq(dev->pci->irq, cx25821_upstream_irq_ch2,
-                       IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
+                       IRQF_SHARED, dev->name, dev);
        if (err < 0) {
                pr_err("%s: can't get upstream IRQ %d\n",
                       dev->name, dev->pci->irq);
index 14a6a6c0340c2fd9fabd8498abbc62d30bbcd8f7..c0b80068f468b9d62e9d967f92dc96b261491791 100644 (file)
@@ -749,7 +749,7 @@ int cx25821_start_video_dma_upstream(struct cx25821_dev *dev,
 
        err =
            request_irq(dev->pci->irq, cx25821_upstream_irq,
-                       IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
+                       IRQF_SHARED, dev->name, dev);
        if (err < 0) {
                pr_err("%s: can't get upstream IRQ %d\n",
                       dev->name, dev->pci->irq);
index 9ced08f253b31eebe7c868d118935882f3dda7ef..24e009c0149bc3c07c5733d862596771bf7a6b88 100644 (file)
@@ -1017,13 +1017,7 @@ c4_add_dev (hdw_info_t * hi, int brdno, unsigned long f0, unsigned long f1,
      **************************************************************/
 
     if (request_irq (irq0, &c4_linux_interrupt,
-#if defined(SBE_ISR_TASKLET)
-                     IRQF_DISABLED | IRQF_SHARED,
-#elif defined(SBE_ISR_IMMEDIATE)
-                     IRQF_DISABLED | IRQF_SHARED,
-#elif defined(SBE_ISR_INLINE)
                      IRQF_SHARED,
-#endif
                      ndev->name, ndev))
     {
         pr_warning("%s: MUSYCC could not get irq: %d\n", ndev->name, irq0);
index 805df913bb6e164f68ae0c2fdc6efe933040da9d..8a060a8a7224fbcb1dbe72eb6e0a89d8e6ef9d78 100644 (file)
@@ -841,7 +841,7 @@ static int init_port(void)
        int i, nlow, nhigh, result;
 
        result = request_irq(irq, irq_handler,
-                            IRQF_DISABLED | (share_irq ? IRQF_SHARED : 0),
+                            (share_irq ? IRQF_SHARED : 0),
                             LIRC_DRIVER_NAME, (void *)&hardware);
 
        switch (result) {
index 0d3864594b12abf28545f4b52cc511ae5ce17378..6903d3992eca02e48f541f90fbca57bb567dbf02 100644 (file)
@@ -967,7 +967,7 @@ static int init_port(void)
                return -EBUSY;
        }
 #endif
-       retval = request_irq(irq, sir_interrupt, IRQF_DISABLED,
+       retval = request_irq(irq, sir_interrupt, 0,
                             LIRC_DRIVER_NAME, NULL);
        if (retval < 0) {
 #               ifndef LIRC_ON_SA1100