usb: dwc_otg: prevent sleeping function called from atomic context
authorlyz <lyz@rock-chips.com>
Tue, 9 Sep 2014 01:32:14 +0000 (09:32 +0800)
committerlyz <lyz@rock-chips.com>
Wed, 17 Sep 2014 06:55:12 +0000 (14:55 +0800)
commitfdad8bbc339dbc070c0ec43e4a02f638072c4017
treef277cdab4336604c64e0f8fd97e32f80b95fa401
parent13154b4b6f1261246a5c072546da8e5ba1cf4a5a
usb: dwc_otg: prevent sleeping function called from atomic context

Disable _local_ irq make no sense here and we don't really need
it, if we need to disable usb irqs from dwc_otg call func
dwc_otg_disable_global_interrupts() can be more useful.
drivers/usb/dwc_otg_310/dwc_otg_pcd_linux.c