video: irq: Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Thu, 22 Sep 2011 08:59:16 +0000 (16:59 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 3 Oct 2011 15:52:22 +0000 (15:52 +0000)
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).

So now this flag is a NOOP and can be removed.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
18 files changed:
drivers/video/au1200fb.c
drivers/video/bf54x-lq043fb.c
drivers/video/bfin-lq035q1-fb.c
drivers/video/bfin-t350mcqb-fb.c
drivers/video/bfin_adv7393fb.c
drivers/video/mb862xx/mb862xxfbdrv.c
drivers/video/msm/mddi.c
drivers/video/msm/mdp.c
drivers/video/nuc900fb.c
drivers/video/omap2/displays/panel-taal.c
drivers/video/ps3fb.c
drivers/video/pxa3xx-gcu.c
drivers/video/pxafb.c
drivers/video/s3c2410fb.c
drivers/video/sa1100fb.c
drivers/video/sh_mobile_lcdcfb.c
drivers/video/tmiofb.c
drivers/video/vt8500lcdfb.c

index a19a40effd883a93275aa061398d74b251a37941..72005598040f0668762c0a8288865c8e809c01de 100644 (file)
@@ -1673,7 +1673,7 @@ static int __devinit au1200fb_drv_probe(struct platform_device *dev)
        /* Now hook interrupt too */
        irq = platform_get_irq(dev, 0);
        ret = request_irq(irq, au1200fb_handle_irq,
-                         IRQF_DISABLED | IRQF_SHARED, "lcd", (void *)dev);
+                         IRQF_SHARED, "lcd", (void *)dev);
        if (ret) {
                print_err("fail to request interrupt line %d (err: %d)",
                          irq, ret);
index 2464b910b5905cd3fb4db743eb5904f8c13e1ea4..56720fb476b3b2548adc468d5c70ef999eecf5fe 100644 (file)
@@ -633,7 +633,7 @@ static int __devinit bfin_bf54x_probe(struct platform_device *pdev)
                goto out7;
        }
 
-       if (request_irq(info->irq, bfin_bf54x_irq_error, IRQF_DISABLED,
+       if (request_irq(info->irq, bfin_bf54x_irq_error, 0,
                        "PPI ERROR", info) < 0) {
                printk(KERN_ERR DRIVER_NAME
                       ": unable to request PPI ERROR IRQ\n");
index 23b6c4b62c78cdd642083b7b36245dca2d13d5e6..c633068372c9d733f8877b5ab8b75a776c2eeb92 100644 (file)
@@ -695,7 +695,7 @@ static int __devinit bfin_lq035q1_probe(struct platform_device *pdev)
                goto out7;
        }
 
-       ret = request_irq(info->irq, bfin_lq035q1_irq_error, IRQF_DISABLED,
+       ret = request_irq(info->irq, bfin_lq035q1_irq_error, 0,
                        DRIVER_NAME" PPI ERROR", info);
        if (ret < 0) {
                dev_err(&pdev->dev, "unable to request PPI ERROR IRQ\n");
index d8de29f0dd8d9111f772cc43a02627c20ac36e6f..d5e126759612571b52b227dcb9a8ef6b70025dc1 100644 (file)
@@ -529,7 +529,7 @@ static int __devinit bfin_t350mcqb_probe(struct platform_device *pdev)
                goto out7;
        }
 
-       ret = request_irq(info->irq, bfin_t350mcqb_irq_error, IRQF_DISABLED,
+       ret = request_irq(info->irq, bfin_t350mcqb_irq_error, 0,
                        "PPI ERROR", info);
        if (ret < 0) {
                printk(KERN_ERR DRIVER_NAME
index 8486f541156bb3ffd8807b2a8c5fecade9d53de9..811dd7f6aa415b696c7c704c17a92504f8d926ca 100644 (file)
@@ -481,7 +481,7 @@ static int __devinit bfin_adv7393_fb_probe(struct i2c_client *client,
                goto out_4;
        }
 
-       if (request_irq(IRQ_PPI_ERROR, ppi_irq_error, IRQF_DISABLED,
+       if (request_irq(IRQ_PPI_ERROR, ppi_irq_error, 0,
                        "PPI ERROR", fbdev) < 0) {
                dev_err(&client->dev, "unable to request PPI ERROR IRQ\n");
                ret = -EFAULT;
index 7a1f2773cf38366ac5090bbf1dc37f89496807be..c16ff1d62e9183edb9098a40a9f17d7ecaa975af 100644 (file)
@@ -737,7 +737,7 @@ static int __devinit of_platform_mb862xx_probe(struct platform_device *ofdev)
        if (mb862xx_gdc_init(par))
                goto io_unmap;
 
-       if (request_irq(par->irq, mb862xx_intr, IRQF_DISABLED,
+       if (request_irq(par->irq, mb862xx_intr, 0,
                        DRV_NAME, (void *)par)) {
                dev_err(dev, "Cannot request irq\n");
                goto io_unmap;
@@ -1073,7 +1073,7 @@ static int __devinit mb862xx_pci_probe(struct pci_dev *pdev,
        if (mb862xx_pci_gdc_init(par))
                goto io_unmap;
 
-       if (request_irq(par->irq, mb862xx_intr, IRQF_DISABLED | IRQF_SHARED,
+       if (request_irq(par->irq, mb862xx_intr, IRQF_SHARED,
                        DRV_NAME, (void *)par)) {
                dev_err(dev, "Cannot request irq\n");
                goto io_unmap;
index 178b0720bd79a96d55e6d786fe8a183940263de2..4527cbf0a4ec61c4aca6956bbce7be89aea202e7 100644 (file)
@@ -715,7 +715,7 @@ static int __devinit mddi_probe(struct platform_device *pdev)
 
        mddi->int_enable = 0;
        mddi_writel(mddi->int_enable, INTEN);
-       ret = request_irq(mddi->irq, mddi_isr, IRQF_DISABLED, "mddi",
+       ret = request_irq(mddi->irq, mddi_isr, 0, "mddi",
                          &mddi->client_data);
        if (ret) {
                printk(KERN_ERR "mddi: failed to request enable irq!\n");
index 01fa660764b4caea65c69b24e9c51be0a9636318..b9344772bac9bb4422e192bed355eab65ca685a9 100644 (file)
@@ -425,7 +425,7 @@ int mdp_probe(struct platform_device *pdev)
                goto error_get_clk;
        }
 
-       ret = request_irq(mdp->irq, mdp_isr, IRQF_DISABLED, "msm_mdp", mdp);
+       ret = request_irq(mdp->irq, mdp_isr, 0, "msm_mdp", mdp);
        if (ret)
                goto error_request_irq;
        disable_irq(mdp->irq);
index 37dd8507e12bc8d20db6a5c9aa177bc483b7f066..d1fbbd888cf436b6ed8ce9d05e442ff3f605514b 100644 (file)
@@ -587,7 +587,7 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev)
        fbinfo->flags                   = FBINFO_FLAG_DEFAULT;
        fbinfo->pseudo_palette          = &fbi->pseudo_pal;
 
-       ret = request_irq(irq, nuc900fb_irqhandler, IRQF_DISABLED,
+       ret = request_irq(irq, nuc900fb_irqhandler, 0,
                          pdev->name, fbinfo);
        if (ret) {
                dev_err(&pdev->dev, "cannot register irq handler %d -err %d\n",
index 4e888ac09b3f4a79de6b263d275684affca45ba0..ca00843ed2fe77752c722c920bbab451909b5ffa 100644 (file)
@@ -1067,7 +1067,7 @@ static int taal_probe(struct omap_dss_device *dssdev)
                gpio_direction_input(gpio);
 
                r = request_irq(gpio_to_irq(gpio), taal_te_isr,
-                               IRQF_DISABLED | IRQF_TRIGGER_RISING,
+                               IRQF_TRIGGER_RISING,
                                "taal vsync", dssdev);
 
                if (r) {
index 65560a1a04392a14602533eaa23d5536941b0573..213fbbcf613bdf0467eb97eec7c2c3e5649eb52d 100644 (file)
@@ -1082,7 +1082,7 @@ static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev)
        }
 
        retval = request_irq(ps3fb.irq_no, ps3fb_vsync_interrupt,
-                            IRQF_DISABLED, DEVICE_NAME, &dev->core);
+                            0, DEVICE_NAME, &dev->core);
        if (retval) {
                dev_err(&dev->core, "%s: request_irq failed %d\n", __func__,
                        retval);
index d8de5577d3cf203d0de12ef461fb53a1c9b47dc9..1ed8b366618df6234b83183f46d3ac18e6641b98 100644 (file)
@@ -676,7 +676,7 @@ pxa3xx_gcu_probe(struct platform_device *dev)
        }
 
        ret = request_irq(irq, pxa3xx_gcu_handle_irq,
-                         IRQF_DISABLED, DRV_NAME, priv);
+                         0, DRV_NAME, priv);
        if (ret) {
                dev_err(&dev->dev, "request_irq failed\n");
                ret = -EBUSY;
index 0f4e8c942f9e082e7410de7983ac28f81576c5f3..e89778f4081fcd7257baa8da27275190c1d4cd78 100644 (file)
@@ -2191,7 +2191,7 @@ static int __devinit pxafb_probe(struct platform_device *dev)
                goto failed_free_mem;
        }
 
-       ret = request_irq(irq, pxafb_handle_irq, IRQF_DISABLED, "LCD", fbi);
+       ret = request_irq(irq, pxafb_handle_irq, 0, "LCD", fbi);
        if (ret) {
                dev_err(&dev->dev, "request_irq failed: %d\n", ret);
                ret = -EBUSY;
index 798144a4eedd2094fa39c147bdfb108245e7f400..ee4c0df217f78bd07403873e28fda2abc3cc9abc 100644 (file)
@@ -910,7 +910,7 @@ static int __devinit s3c24xxfb_probe(struct platform_device *pdev,
        for (i = 0; i < 256; i++)
                info->palette_buffer[i] = PALETTE_BUFF_CLEAR;
 
-       ret = request_irq(irq, s3c2410fb_irq, IRQF_DISABLED, pdev->name, info);
+       ret = request_irq(irq, s3c2410fb_irq, 0, pdev->name, info);
        if (ret) {
                dev_err(&pdev->dev, "cannot get irq %d - err %d\n", irq, ret);
                ret = -EBUSY;
index e8b76d65a070f3b46c06517d17af81ece01e5bb0..98d55d0e2da5336dbb58a189c25b6f45569f1789 100644 (file)
@@ -1457,8 +1457,7 @@ static int __devinit sa1100fb_probe(struct platform_device *pdev)
        if (ret)
                goto failed;
 
-       ret = request_irq(irq, sa1100fb_handle_irq, IRQF_DISABLED,
-                         "LCD", fbi);
+       ret = request_irq(irq, sa1100fb_handle_irq, 0, "LCD", fbi);
        if (ret) {
                printk(KERN_ERR "sa1100fb: request_irq failed: %d\n", ret);
                goto failed;
index 97ab8bac24945545630cf648eacdcab1d8c9d325..3a41c013d031678243df462e5c2d60e87c07db44 100644 (file)
@@ -1576,7 +1576,7 @@ static int __devinit sh_mobile_lcdc_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, priv);
 
-       error = request_irq(i, sh_mobile_lcdc_irq, IRQF_DISABLED,
+       error = request_irq(i, sh_mobile_lcdc_irq, 0,
                            dev_name(&pdev->dev), priv);
        if (error) {
                dev_err(&pdev->dev, "unable to request irq\n");
index cd1c4dcef8fdc0f0d79b1e33f7a84593416854fe..8e4a446b5ed111054ed52f0ff62abbe79edb006d 100644 (file)
@@ -744,7 +744,7 @@ static int __devinit tmiofb_probe(struct platform_device *dev)
                goto err_ioremap_vram;
        }
 
-       retval = request_irq(irq, &tmiofb_irq, IRQF_DISABLED,
+       retval = request_irq(irq, &tmiofb_irq, 0,
                                        dev_name(&dev->dev), info);
 
        if (retval)
index c13c246be9a56ddd68b398e00f123937517c80fa..777c21dd7a6ba8b126d4a63feec5765b48a24db7 100644 (file)
@@ -355,7 +355,7 @@ static int __devinit vt8500lcd_probe(struct platform_device *pdev)
                goto failed_free_palette;
        }
 
-       ret = request_irq(irq, vt8500lcd_handle_irq, IRQF_DISABLED, "LCD", fbi);
+       ret = request_irq(irq, vt8500lcd_handle_irq, 0, "LCD", fbi);
        if (ret) {
                dev_err(&pdev->dev, "request_irq failed: %d\n", ret);
                ret = -EBUSY;