diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-09-11 16:00:30 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 20:22:35 -0700 |
commit | 73d4066055e0e2830533041f4b91df8e6e5976ff (patch) | |
tree | ac6d996069c1c0afc65abe0404427d6ffbfa5fb5 /drivers/usb/host/ehci-ls1x.c | |
parent | ca3c1539adfe9c1b86f16faf314b3bf54c3b5389 (diff) | |
download | blackbird-op-linux-73d4066055e0e2830533041f4b91df8e6e5976ff.tar.gz blackbird-op-linux-73d4066055e0e2830533041f4b91df8e6e5976ff.zip |
USB/host: Cleanup unneccessary irq disable code
Because the IRQF_DISABLED as the flag is now a NOOP and has been
deprecated and in hardirq context the interrupt is disabled.
so in usb/host code:
Removing the usage of flag IRQF_DISABLED;
Removing the calling local_irq save/restore actions in irq
handler usb_hcd_irq();
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-ls1x.c')
-rw-r--r-- | drivers/usb/host/ehci-ls1x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-ls1x.c b/drivers/usb/host/ehci-ls1x.c index aa0f328922df..ca759652626b 100644 --- a/drivers/usb/host/ehci-ls1x.c +++ b/drivers/usb/host/ehci-ls1x.c @@ -113,7 +113,7 @@ static int ehci_hcd_ls1x_probe(struct platform_device *pdev) goto err_put_hcd; } - ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED); + ret = usb_add_hcd(hcd, irq, IRQF_SHARED); if (ret) goto err_put_hcd; |