USB: irq: Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 7 Sep 2011 08:10:52 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Sep 2011 08:39:36 +0000 (01:39 -0700)
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>
54 files changed:
drivers/usb/core/hcd-pci.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/fusb300_udc.c
drivers/usb/gadget/imx_udc.c
drivers/usb/gadget/m66592-udc.c
drivers/usb/gadget/mv_udc_core.c
drivers/usb/gadget/omap_udc.c
drivers/usb/gadget/pxa25x_udc.c
drivers/usb/gadget/r8a66597-udc.c
drivers/usb/gadget/s3c2410_udc.c
drivers/usb/host/ehci-ath79.c
drivers/usb/host/ehci-au1xxx.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-mxc.c
drivers/usb/host/ehci-octeon.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-orion.c
drivers/usb/host/ehci-ps3.c
drivers/usb/host/ehci-s5p.c
drivers/usb/host/ehci-sh.c
drivers/usb/host/ehci-spear.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ehci-vt8500.c
drivers/usb/host/fhci-hcd.c
drivers/usb/host/imx21-hcd.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/isp1760-if.c
drivers/usb/host/ohci-ath79.c
drivers/usb/host/ohci-au1xxx.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-ep93xx.c
drivers/usb/host/ohci-octeon.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-omap3.c
drivers/usb/host/ohci-pnx4008.c
drivers/usb/host/ohci-pnx8550.c
drivers/usb/host/ohci-ppc-of.c
drivers/usb/host/ohci-ppc-soc.c
drivers/usb/host/ohci-ps3.c
drivers/usb/host/ohci-pxa27x.c
drivers/usb/host/ohci-s3c2410.c
drivers/usb/host/ohci-sa1111.c
drivers/usb/host/ohci-sh.c
drivers/usb/host/ohci-sm501.c
drivers/usb/host/ohci-spear.c
drivers/usb/host/ohci-ssb.c
drivers/usb/host/ohci-tmio.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/usb/host/xhci-pci.c
drivers/usb/musb/musbhsdma.c
drivers/usb/otg/isp1301_omap.c
drivers/usb/renesas_usbhs/mod.c

index ce22f4a84ed0ade731c6586f6a51d01433f67d45..a004db35f6d0e90cced45aa9bd81ca107d2ed472 100644 (file)
@@ -242,7 +242,7 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
 
        pci_set_master(dev);
 
-       retval = usb_add_hcd(hcd, dev->irq, IRQF_DISABLED | IRQF_SHARED);
+       retval = usb_add_hcd(hcd, dev->irq, IRQF_SHARED);
        if (retval != 0)
                goto unmap_registers;
        set_hs_companion(dev, hcd);
index 0a1b6d10ab7a2bef69ccbd89c8da693c2746e149..e10cf3c63929bcb49656774024d23cccbf080892 100644 (file)
@@ -1810,7 +1810,7 @@ static int __init at91udc_probe(struct platform_device *pdev)
        /* request UDC and maybe VBUS irqs */
        udc->udp_irq = platform_get_irq(pdev, 0);
        retval = request_irq(udc->udp_irq, at91_udc_irq,
-                       IRQF_DISABLED, driver_name, udc);
+                       0, driver_name, udc);
        if (retval < 0) {
                DBG("request irq %d failed\n", udc->udp_irq);
                goto fail1;
@@ -1838,7 +1838,7 @@ static int __init at91udc_probe(struct platform_device *pdev)
                                  jiffies + VBUS_POLL_TIMEOUT);
                } else {
                        if (request_irq(udc->board.vbus_pin, at91_vbus_irq,
-                                       IRQF_DISABLED, driver_name, udc)) {
+                                       0, driver_name, udc)) {
                                DBG("request vbus irq %d failed\n",
                                    udc->board.vbus_pin);
                                retval = -EBUSY;
index cd9cbba8c0633ae311bda6e0f966a08119451350..e593f2849fa9499bb0efcdb748b4f610e1d3b22a 100644 (file)
@@ -1469,7 +1469,7 @@ static int __init fusb300_probe(struct platform_device *pdev)
        fusb300->gadget.name = udc_name;
        fusb300->reg = reg;
 
-       ret = request_irq(ires->start, fusb300_irq, IRQF_DISABLED | IRQF_SHARED,
+       ret = request_irq(ires->start, fusb300_irq, IRQF_SHARED,
                          udc_name, fusb300);
        if (ret < 0) {
                pr_err("request_irq error (%d)\n", ret);
@@ -1477,7 +1477,7 @@ static int __init fusb300_probe(struct platform_device *pdev)
        }
 
        ret = request_irq(ires1->start, fusb300_irq,
-                       IRQF_DISABLED | IRQF_SHARED, udc_name, fusb300);
+                       IRQF_SHARED, udc_name, fusb300);
        if (ret < 0) {
                pr_err("request_irq1 error (%d)\n", ret);
                goto clean_up;
index bf08bfcd90b894517c26a759ae31017906ad00fd..2d978c0e7ced73b391a9eed1d7bcb2d9c4f16481 100644 (file)
@@ -1478,7 +1478,7 @@ static int __init imx_udc_probe(struct platform_device *pdev)
 
        for (i = 0; i < IMX_USB_NB_EP + 1; i++) {
                ret = request_irq(imx_usb->usbd_int[i], intr_handler(i),
-                                    IRQF_DISABLED, driver_name, imx_usb);
+                                    0, driver_name, imx_usb);
                if (ret) {
                        dev_err(&pdev->dev, "can't get irq %i, err %d\n",
                                imx_usb->usbd_int[i], ret);
index c27e5e8f54d02ec1edbf28ed619b787a26ad254f..91d0af2a24a8537728fb5c5cb176ff0108095ab5 100644 (file)
@@ -1664,7 +1664,7 @@ static int __init m66592_probe(struct platform_device *pdev)
        m66592->timer.data = (unsigned long)m66592;
        m66592->reg = reg;
 
-       ret = request_irq(ires->start, m66592_irq, IRQF_DISABLED | IRQF_SHARED,
+       ret = request_irq(ires->start, m66592_irq, IRQF_SHARED,
                        udc_name, m66592);
        if (ret < 0) {
                pr_err("request_irq error (%d)\n", ret);
index 263dec40af320219440d38ebf267f82424e9cf85..0d0e9e39f8b2d122f89b8013fabc1a3a5cc0ff86 100644 (file)
@@ -2049,7 +2049,7 @@ int mv_udc_probe(struct platform_device *dev)
        }
        udc->irq = r->start;
        if (request_irq(udc->irq, mv_udc_irq,
-               IRQF_DISABLED | IRQF_SHARED, driver_name, udc)) {
+               IRQF_SHARED, driver_name, udc)) {
                dev_err(&dev->dev, "Request irq %d for UDC failed\n",
                        udc->irq);
                retval = -ENODEV;
index ae9c89b5801a4f0b7d5f16881dc0623b52f26c7c..788989a10223cbe69d4c5773b6be8a748227a88a 100644 (file)
@@ -2958,7 +2958,7 @@ known:
        }
 #ifdef USE_ISO
        status = request_irq(pdev->resource[3].start, omap_udc_iso_irq,
-                       IRQF_DISABLED, "omap_udc iso", udc);
+                       0, "omap_udc iso", udc);
        if (status != 0) {
                ERR("can't get irq %d, err %d\n",
                        (int) pdev->resource[3].start, status);
index a33fc17926419bc73543dd6001fd56a0cc511da9..c090a7e3ecf886a2c3c525c935cf5dd608c697ea 100644 (file)
@@ -2190,7 +2190,7 @@ static int __init pxa25x_udc_probe(struct platform_device *pdev)
 
        /* irq setup after old hardware state is cleaned up */
        retval = request_irq(irq, pxa25x_udc_irq,
-                       IRQF_DISABLED, driver_name, dev);
+                       0, driver_name, dev);
        if (retval != 0) {
                pr_err("%s: can't get irq %d, err %d\n",
                        driver_name, irq, retval);
@@ -2202,7 +2202,7 @@ static int __init pxa25x_udc_probe(struct platform_device *pdev)
        if (machine_is_lubbock()) {
                retval = request_irq(LUBBOCK_USB_DISC_IRQ,
                                lubbock_vbus_irq,
-                               IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
+                               IRQF_SAMPLE_RANDOM,
                                driver_name, dev);
                if (retval != 0) {
                        pr_err("%s: can't get irq %i, err %d\n",
@@ -2211,7 +2211,7 @@ static int __init pxa25x_udc_probe(struct platform_device *pdev)
                }
                retval = request_irq(LUBBOCK_USB_IRQ,
                                lubbock_vbus_irq,
-                               IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
+                               IRQF_SAMPLE_RANDOM,
                                driver_name, dev);
                if (retval != 0) {
                        pr_err("%s: can't get irq %i, err %d\n",
index bca3f415d20d50c34b6c8d58cf803d541e15501e..d3f81c96cd7896cbb7b9de9dfa819fb9730825e5 100644 (file)
@@ -1633,7 +1633,7 @@ static int __init r8a66597_probe(struct platform_device *pdev)
 
        disable_controller(r8a66597); /* make sure controller is disabled */
 
-       ret = request_irq(irq, r8a66597_irq, IRQF_DISABLED | IRQF_SHARED,
+       ret = request_irq(irq, r8a66597_irq, IRQF_SHARED,
                        udc_name, r8a66597);
        if (ret < 0) {
                printk(KERN_ERR "request_irq error (%d)\n", ret);
index 3f587b0411b0917168470305b37aeb9eef5eef3f..b8643771fa80eb6a27c4eac0c481659970bcb245 100644 (file)
@@ -1893,7 +1893,7 @@ static int s3c2410_udc_probe(struct platform_device *pdev)
 
        /* irq setup after old hardware state is cleaned up */
        retval = request_irq(IRQ_USBD, s3c2410_udc_irq,
-                            IRQF_DISABLED, gadget_name, udc);
+                            0, gadget_name, udc);
 
        if (retval != 0) {
                dev_err(dev, "cannot get irq %i, err %d\n", IRQ_USBD, retval);
@@ -1917,7 +1917,7 @@ static int s3c2410_udc_probe(struct platform_device *pdev)
                }
 
                retval = request_irq(irq, s3c2410_udc_vbus_irq,
-                                    IRQF_DISABLED | IRQF_TRIGGER_RISING
+                                    IRQF_TRIGGER_RISING
                                     | IRQF_TRIGGER_FALLING | IRQF_SHARED,
                                     gadget_name, udc);
 
index 4d2e88d04dab318a8210f88fe7001f42cc10f3c1..afb6743cf09401876bea18affd21f07b2c3f394c 100644 (file)
@@ -163,7 +163,7 @@ static int ehci_ath79_probe(struct platform_device *pdev)
                goto err_release_region;
        }
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret)
                goto err_iounmap;
 
index 4363fea85151ace424b583100aac7a3393b9fd27..65719e8d24e455e5d9689a896fe3ed7e45e213f8 100644 (file)
@@ -181,7 +181,7 @@ static int ehci_hcd_au1xxx_drv_probe(struct platform_device *pdev)
        ehci->hcs_params = readl(&ehci->caps->hcs_params);
 
        ret = usb_add_hcd(hcd, pdev->resource[1].start,
-                         IRQF_DISABLED | IRQF_SHARED);
+                         IRQF_SHARED);
        if (ret == 0) {
                platform_set_drvdata(pdev, hcd);
                return ret;
index 3bf9f16b4fd890ecf945934458b9e9c10b8c5759..e90344a1763173e4c49c9099ecf65a7609aad358 100644 (file)
@@ -134,7 +134,7 @@ static int usb_hcd_fsl_probe(const struct hc_driver *driver,
 
        /* Don't need to set host mode here. It will be done by tdi_reset() */
 
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (retval != 0)
                goto err4;
 
index 555a73c864b57567229629e8e3432f7a710a7816..55978fcfa4b2ed3d7ef9e71af242bdd4e2a32884 100644 (file)
@@ -236,7 +236,7 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
        priv->hcd = hcd;
        platform_set_drvdata(pdev, priv);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret)
                goto err_add;
 
index c3ba3ed5f3a6d5ddf31173c2f8c0dda065d05fa4..ba1f5136113476c0ad05761818278c2d17a07ec7 100644 (file)
@@ -155,7 +155,7 @@ static int ehci_octeon_drv_probe(struct platform_device *pdev)
        /* cache this readonly data; minimize chip reads */
        ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret) {
                dev_dbg(&pdev->dev, "failed to add hcd with err %d\n", ret);
                goto err3;
index 45240321ca09e774ccf41f58e8f13a58b989d5e1..e39b0297bad1806a2e2cb49e2a5047e026847dc6 100644 (file)
@@ -228,7 +228,7 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
        /* cache this readonly data; minimize chip reads */
        omap_ehci->hcs_params = readl(&omap_ehci->caps->hcs_params);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret) {
                dev_err(dev, "failed to add hcd with err %d\n", ret);
                goto err_add_hcd;
index 395bdb0248d567ec5cffc7724827fd42925fa2f2..a68a2a5c4b83844e2b29d09f4466eda3bcea0b97 100644 (file)
@@ -277,7 +277,7 @@ static int __devinit ehci_orion_drv_probe(struct platform_device *pdev)
                printk(KERN_WARNING "Orion ehci -USB phy version isn't supported.\n");
        }
 
-       err = usb_add_hcd(hcd, irq, IRQF_SHARED | IRQF_DISABLED);
+       err = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (err)
                goto err4;
 
index 64626a777d611e59f4b2b02dba0acad950010caf..2dc32da75cfc458edff72ec92d20a43d192e2ee6 100644 (file)
@@ -167,7 +167,7 @@ static int __devinit ps3_ehci_probe(struct ps3_system_bus_device *dev)
 
        ps3_system_bus_set_drvdata(dev, hcd);
 
-       result = usb_add_hcd(hcd, virq, IRQF_DISABLED);
+       result = usb_add_hcd(hcd, virq, 0);
 
        if (result) {
                dev_dbg(&dev->core, "%s:%d: usb_add_hcd failed (%d)\n",
index 64bcf66d304027ce387aca459d8a1fbc799eb9d5..024b65c4990dc117417b594387da3ac14f73d730 100644 (file)
@@ -136,7 +136,7 @@ static int __devinit s5p_ehci_probe(struct platform_device *pdev)
        /* cache this readonly data; minimize chip reads */
        ehci->hcs_params = readl(&ehci->caps->hcs_params);
 
-       err = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       err = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (err) {
                dev_err(&pdev->dev, "Failed to add USB HCD\n");
                goto fail;
index 86a95bb80a6174701a5190e94d1bf59c8dabfd86..9d9cf47d80da912113e360d3cc9fc82c219a6ada 100644 (file)
@@ -168,7 +168,7 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
        clk_enable(priv->fclk);
        clk_enable(priv->iclk);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret != 0) {
                dev_err(&pdev->dev, "Failed to add hcd");
                goto fail_add_hcd;
index dbf1e4ef3c17ffa626fc1f40fd951f36cbbbd852..b115b0b76e33ef6e73378a4b9e5228eb5ed0106e 100644 (file)
@@ -154,7 +154,7 @@ static int spear_ehci_hcd_drv_probe(struct platform_device *pdev)
        ehci->clk = usbh_clk;
 
        spear_start_ehci(ehci);
-       retval = usb_add_hcd(hcd, irq, IRQF_SHARED | IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (retval)
                goto fail_add_hcd;
 
index 02b2bfd49a10c0bcc0972877fe8527955c6a1344..db9d1b4bfbdc4eda2e4243cc43e31c4ed498adf5 100644 (file)
@@ -674,7 +674,7 @@ static int tegra_ehci_probe(struct platform_device *pdev)
        }
 #endif
 
-       err = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       err = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (err) {
                dev_err(&pdev->dev, "Failed to add USB HCD\n");
                goto fail;
index 47d749631bc77ef55fd80b417e1d43bca41687cd..54d1ab8aec495d1067ac3578ebc94b2b91f0da0e 100644 (file)
@@ -133,7 +133,7 @@ static int vt8500_ehci_drv_probe(struct platform_device *pdev)
        ehci_port_power(ehci, 1);
 
        ret = usb_add_hcd(hcd, pdev->resource[1].start,
-                         IRQF_DISABLED | IRQF_SHARED);
+                         IRQF_SHARED);
        if (ret == 0) {
                platform_set_drvdata(pdev, hcd);
                return ret;
index 484a74f7553a970b89c00b85d8cfd0d63cb56808..4ed6d19f2a549d7bddbedcd2d2692d904d75b356 100644 (file)
@@ -689,7 +689,7 @@ static int __devinit of_fhci_probe(struct platform_device *ofdev)
        }
 
        ret = request_irq(fhci->timer->irq, fhci_frame_limit_timer_irq,
-                         IRQF_DISABLED, "qe timer (usb)", hcd);
+                         0, "qe timer (usb)", hcd);
        if (ret) {
                dev_err(dev, "failed to request timer irq");
                goto err_timer_irq;
@@ -748,7 +748,7 @@ static int __devinit of_fhci_probe(struct platform_device *ofdev)
        out_be16(&fhci->regs->usb_event, 0xffff);
        out_be16(&fhci->regs->usb_mask, 0);
 
-       ret = usb_add_hcd(hcd, usb_irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, usb_irq, 0);
        if (ret < 0)
                goto err_add_hcd;
 
index af05718bdc73c3fbff260e251c1530860e17a427..2ee18cfa1efe37e4dfecaee0b2c8db8611c96139 100644 (file)
@@ -1891,7 +1891,7 @@ static int imx21_probe(struct platform_device *pdev)
        dev_info(imx21->dev, "Hardware HC revision: 0x%02X\n",
                (readl(imx21->regs + USBOTG_HWMODE) >> 16) & 0xFF);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, 0);
        if (ret != 0) {
                dev_err(imx21->dev, "usb_add_hcd() returned %d\n", ret);
                goto failed_add_hcd;
index baae4ccd16ac0cca4a3cccec2245b54399932eed..d91e5f211a76558c2d808d8f1efa12dfb037f37e 100644 (file)
@@ -1639,7 +1639,7 @@ static int __devinit isp116x_probe(struct platform_device *pdev)
                goto err6;
        }
 
-       ret = usb_add_hcd(hcd, irq, irqflags | IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, irqflags);
        if (ret)
                goto err6;
 
index 21efca98a78c585b4d012892043de6a0d549fc9e..e5fd8aa57af1fea368c88de609a86b2aba5d28e8 100644 (file)
@@ -2773,7 +2773,7 @@ static int __devinit isp1362_probe(struct platform_device *pdev)
        if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL)
                irq_flags |= IRQF_TRIGGER_LOW;
 
-       retval = usb_add_hcd(hcd, irq, irq_flags | IRQF_DISABLED | IRQF_SHARED);
+       retval = usb_add_hcd(hcd, irq, irq_flags | IRQF_SHARED);
        if (retval != 0)
                goto err6;
        pr_info("%s, irq %d\n", hcd->product_desc, irq);
index 7ee30056f3736dc5006a4cca7a903d1bef8f1ea1..d2f6b2dd7405ffea2dac2e8ed9857a232603dd43 100644 (file)
@@ -79,7 +79,7 @@ static int of_isp1760_probe(struct platform_device *dev)
                devflags |= ISP1760_FLAG_DREQ_POL_HIGH;
 
        hcd = isp1760_register(memory.start, res_len, virq,
-               IRQF_SHARED | IRQF_DISABLED, &dev->dev, dev_name(&dev->dev),
+               IRQF_SHARED, &dev->dev, dev_name(&dev->dev),
                devflags);
        if (IS_ERR(hcd)) {
                ret = PTR_ERR(hcd);
@@ -240,7 +240,7 @@ static int __devinit isp1761_pci_probe(struct pci_dev *dev,
 
        dev->dev.dma_mask = NULL;
        hcd = isp1760_register(pci_mem_phy0, memlength, dev->irq,
-               IRQF_SHARED | IRQF_DISABLED, &dev->dev, dev_name(&dev->dev),
+               IRQF_SHARED, &dev->dev, dev_name(&dev->dev),
                devflags);
        if (IS_ERR(hcd)) {
                ret_status = -ENODEV;
@@ -313,7 +313,7 @@ static int __devinit isp1760_plat_probe(struct platform_device *pdev)
        resource_size_t mem_size;
        struct isp1760_platform_data *priv = pdev->dev.platform_data;
        unsigned int devflags = 0;
-       unsigned long irqflags = IRQF_SHARED | IRQF_DISABLED;
+       unsigned long irqflags = IRQF_SHARED;
 
        mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!mem_res) {
index c620c50f6770bf9f2ee1fa0ca6c2783ff7d1d2be..18d574d6958b49b0de079647b49e6dbc2408bd43 100644 (file)
@@ -111,7 +111,7 @@ static int ohci_ath79_probe(struct platform_device *pdev)
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, 0);
        if (ret)
                goto err_stop_hcd;
 
index 958d985f29513f36b2840b77a532c09a7bafa45e..6b7bc50dfeaa02519ab969bbdce905fa0d109a19 100644 (file)
@@ -218,7 +218,7 @@ static int ohci_hcd_au1xxx_drv_probe(struct platform_device *pdev)
        ohci_hcd_init(hcd_to_ohci(hcd));
 
        ret = usb_add_hcd(hcd, pdev->resource[1].start,
-                         IRQF_DISABLED | IRQF_SHARED);
+                         IRQF_SHARED);
        if (ret == 0) {
                platform_set_drvdata(pdev, hcd);
                return ret;
index 6aca2c4453f7aed7884e5b1e6520f6fffbeac753..843509778a33ea4de570ab052dafedd8e83687e3 100644 (file)
@@ -344,7 +344,7 @@ static int usb_hcd_da8xx_probe(const struct hc_driver *driver,
                error = -ENODEV;
                goto err4;
        }
-       error = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       error = usb_add_hcd(hcd, irq, 0);
        if (error)
                goto err4;
 
index 4e681613e7ae1fc846b42c40b8db5f4b8ffa97eb..dc45d489d00ede5114f1d11e416590a562481604 100644 (file)
@@ -81,7 +81,7 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver *driver,
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, pdev->resource[1].start, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, pdev->resource[1].start, 0);
        if (retval == 0)
                return retval;
 
index d8b45647d1dc5595353c8d055c856b98e6395db3..d469bf9b9e54001e1c2fa6b51c5ebaab94fb70da 100644 (file)
@@ -164,7 +164,7 @@ static int ohci_octeon_drv_probe(struct platform_device *pdev)
 
        ohci_hcd_init(ohci);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret) {
                dev_dbg(&pdev->dev, "failed to add hcd with err %d\n", ret);
                goto err3;
index 5645f70b9214369b2b614f5c9dc535958bdebd01..e4b8782cc6e22d362b1fbc674fc578e61e121f67 100644 (file)
@@ -14,7 +14,7 @@
  * This file is licenced under the GPL.
  */
 
-#include <linux/signal.h>      /* IRQF_DISABLED */
+#include <linux/signal.h>
 #include <linux/jiffies.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
@@ -363,7 +363,7 @@ static int usb_hcd_omap_probe (const struct hc_driver *driver,
                retval = -ENXIO;
                goto err3;
        }
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, irq, 0);
        if (retval)
                goto err3;
 
index 853ad8dacb7ee05f995c34bbcee42ecfeb83a04b..516ebc4d6cc29a820c13d3ee4578d3c6e49c2ad8 100644 (file)
@@ -180,7 +180,7 @@ static int __devinit ohci_hcd_omap3_probe(struct platform_device *pdev)
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, 0);
        if (ret) {
                dev_dbg(dev, "failed to add hcd with err %d\n", ret);
                goto err_add_hcd;
index 653d6a60edb54e9e748b9e11e18a22192c8e3900..9ad8bee22c1517132068dd99f72eb0834ad2b907 100644 (file)
@@ -398,7 +398,7 @@ static int __devinit usb_hcd_pnx4008_probe(struct platform_device *pdev)
        ohci_hcd_init(ohci);
 
        dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq);
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, 0);
        if (ret == 0)
                return ret;
 
index 28467e288a93d54607c7cb244e1e904dc6136395..f13d08f94d6b12706c6638e3acd41ca707f059a3 100644 (file)
@@ -107,7 +107,7 @@ int usb_hcd_pnx8550_probe (const struct hc_driver *driver,
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, dev->resource[1].start, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, dev->resource[1].start, 0);
        if (retval == 0)
                return retval;
 
index 0c12f4e14dcd0b4877a6e50c6a3923b9661bfc13..d24cc89de16f755c9aea2a895f5dbe1ed93ff827 100644 (file)
@@ -143,7 +143,7 @@ static int __devinit ohci_hcd_ppc_of_probe(struct platform_device *op)
 
        ohci_hcd_init(ohci);
 
-       rv = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       rv = usb_add_hcd(hcd, irq, 0);
        if (rv == 0)
                return 0;
 
index c0f595c444874ddf1b1e5210fb33d14f91475afa..1514b706747060fe6d6e00e8f319400d2b0f6c54 100644 (file)
@@ -80,7 +80,7 @@ static int usb_hcd_ppc_soc_probe(const struct hc_driver *driver,
 #endif
        ohci_hcd_init(ohci);
 
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, irq, 0);
        if (retval == 0)
                return retval;
 
index 700950455f4d1e6552b459b29537703892cae7a4..6fd4fa1f19bb44e9b0c689e171b0a78eb1468fb8 100644 (file)
@@ -164,7 +164,7 @@ static int __devinit ps3_ohci_probe(struct ps3_system_bus_device *dev)
 
        ps3_system_bus_set_drvdata(dev, hcd);
 
-       result = usb_add_hcd(hcd, virq, IRQF_DISABLED);
+       result = usb_add_hcd(hcd, virq, 0);
 
        if (result) {
                dev_dbg(&dev->core, "%s:%d: usb_add_hcd failed (%d)\n",
index 80be5472783a4f30e8a791a205958f176ff2dbf1..29dfefe1c726d490318faea707345a17ca9a8a2d 100644 (file)
@@ -359,7 +359,7 @@ int usb_hcd_pxa27x_probe (const struct hc_driver *driver, struct platform_device
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, irq, 0);
        if (retval == 0)
                return retval;
 
index 7c9a4d55526b3b115bed4b84e6876e1c90c0befb..a1877c47601e8df0df50ad6f9280906a8d4bb9c5 100644 (file)
@@ -384,7 +384,7 @@ static int usb_hcd_s3c2410_probe(const struct hc_driver *driver,
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, dev->resource[1].start, IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, dev->resource[1].start, 0);
        if (retval != 0)
                goto err_ioremap;
 
index 4204d9720d2331bb6e0b4d2f2e60e3ce42cdda1e..4bde4f9821baf99eeae6cf49fe1690278c4b13d1 100644 (file)
@@ -143,7 +143,7 @@ int usb_hcd_sa1111_probe (const struct hc_driver *driver,
        sa1111_start_hc(dev);
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, dev->irq[1], IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, dev->irq[1], 0);
        if (retval == 0)
                return retval;
 
index 14cecb52a9fe2e116244beb7b76ffb7cccf8c8da..afc4eb6bb9d036cd3c3f4f7d107aefd1192833f3 100644 (file)
@@ -109,7 +109,7 @@ static int ohci_hcd_sh_probe(struct platform_device *pdev)
        hcd->regs = (void __iomem *)res->start;
        hcd->rsrc_start = res->start;
        hcd->rsrc_len = resource_size(res);
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret != 0) {
                err("Failed to add hcd");
                usb_put_hcd(hcd);
index 78918ca0da238cce69525f42b01387ccaaf1f8dd..968cea2b6d4eab97b9a154155eac81f68162e706 100644 (file)
@@ -165,7 +165,7 @@ static int ohci_hcd_sm501_drv_probe(struct platform_device *pdev)
 
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+       retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (retval)
                goto err5;
 
index 4fd4bea9ac7ae2f469e5299c8b3653bf14962e5d..69874654f3b5d8e076209b42798fb92110d80185 100644 (file)
@@ -152,7 +152,7 @@ static int spear_ohci_hcd_drv_probe(struct platform_device *pdev)
        spear_start_ohci(ohci_p);
        ohci_hcd_init(hcd_to_ohci(hcd));
 
-       retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), IRQF_DISABLED);
+       retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0);
        if (retval == 0)
                return retval;
 
index c4aea3b8315e668eae752e7d8f1ac9ce6250c8f3..5ba18595d6f78bb4e104406fe18ec8c9df634805 100644 (file)
@@ -169,7 +169,7 @@ static int ssb_ohci_attach(struct ssb_device *dev)
        hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len);
        if (!hcd->regs)
                goto err_put_hcd;
-       err = usb_add_hcd(hcd, dev->irq, IRQF_DISABLED | IRQF_SHARED);
+       err = usb_add_hcd(hcd, dev->irq, IRQF_SHARED);
        if (err)
                goto err_iounmap;
 
index 57ad1271fc9bec740bf57fe736bd86741d506d6d..06331d9311716b7f1634e64618357f54dd35fade 100644 (file)
@@ -244,7 +244,7 @@ static int __devinit ohci_hcd_tmio_drv_probe(struct platform_device *dev)
        ohci = hcd_to_ohci(hcd);
        ohci_hcd_init(ohci);
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+       ret = usb_add_hcd(hcd, irq, 0);
        if (ret)
                goto err_add_hcd;
 
index a6f256436e777c91efb879433ad35ebc04187eeb..e84ca1928dbf211f502468a6aa55392b0386741f 100644 (file)
@@ -2519,7 +2519,7 @@ static int __devinit r8a66597_probe(struct platform_device *pdev)
        hcd->rsrc_start = res->start;
        hcd->has_tt = 1;
 
-       ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | irq_trigger);
+       ret = usb_add_hcd(hcd, irq, irq_trigger);
        if (ret != 0) {
                dev_err(&pdev->dev, "Failed to add hcd\n");
                goto clean_up3;
index 1a996245ab98484fd65bc8126fb1c0c22d810f73..961d6638d8f9404e16eea2158eba7ae49d171776 100644 (file)
@@ -1729,7 +1729,7 @@ sl811h_probe(struct platform_device *dev)
         * Use resource IRQ flags if set by platform device setup.
         */
        irqflags |= IRQF_SHARED;
-       retval = usb_add_hcd(hcd, irq, IRQF_DISABLED | irqflags);
+       retval = usb_add_hcd(hcd, irq, irqflags);
        if (retval != 0)
                goto err6;
 
index 50d3fcf593ff0eeef0e8fcb8a8fe6c712aced98b..a1110996b76f96317ddc95cc7967fd42fd5b5a1c 100644 (file)
@@ -223,7 +223,7 @@ static int xhci_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
        *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci;
 
        retval = usb_add_hcd(xhci->shared_hcd, dev->irq,
-                       IRQF_DISABLED | IRQF_SHARED);
+                       IRQF_SHARED);
        if (retval)
                goto put_usb3_hcd;
        /* Roothub already marked as USB 3.0 speed */
index f70c5a5777361d4c13a941c69331e5882fbf6f5d..57a608584e160248708aca39570a7e30bf55d7a5 100644 (file)
@@ -408,7 +408,7 @@ dma_controller_create(struct musb *musb, void __iomem *base)
        controller->controller.channel_program = dma_channel_program;
        controller->controller.channel_abort = dma_channel_abort;
 
-       if (request_irq(irq, dma_controller_irq, IRQF_DISABLED,
+       if (request_irq(irq, dma_controller_irq, 0,
                        dev_name(musb->controller), &controller->controller)) {
                dev_err(dev, "request_irq %d failed!\n", irq);
                dma_controller_destroy(&controller->controller);
index ca9b690a7e402309a7f9eb58a39a5289625c10c0..8c86787c2f09a23668b510d72235814ee6c072cd 100644 (file)
@@ -899,7 +899,7 @@ static int otg_bind(struct isp1301 *isp)
 
        if (otg_dev)
                status = request_irq(otg_dev->resource[1].start, omap_otg_irq,
-                               IRQF_DISABLED, DRIVER_NAME, isp);
+                               0, DRIVER_NAME, isp);
        else
                status = -ENODEV;
 
index a577f8f4064ca00a92a5dc43a931e097a496e9dc..621f6cc50db6da77674fcec2e2beccca721d4d95 100644 (file)
@@ -145,7 +145,7 @@ int usbhs_mod_probe(struct usbhs_priv *priv)
 
        /* irq settings */
        ret = request_irq(priv->irq, usbhs_interrupt,
-                         IRQF_DISABLED, dev_name(dev), priv);
+                         0, dev_name(dev), priv);
        if (ret) {
                dev_err(dev, "irq request err\n");
                goto mod_init_gadget_err;