]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB/host: Cleanup unneccessary irq disable code
authorChuansheng Liu <chuansheng.liu@intel.com>
Tue, 11 Sep 2012 08:00:30 +0000 (16:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:22:35 +0000 (20:22 -0700)
commit73d4066055e0e2830533041f4b91df8e6e5976ff
treeac6d996069c1c0afc65abe0404427d6ffbfa5fb5
parentca3c1539adfe9c1b86f16faf314b3bf54c3b5389
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>
drivers/usb/core/hcd.c
drivers/usb/host/ehci-ls1x.c
drivers/usb/host/ohci-xls.c