X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blobdiff_plain;f=drivers%2Fusb%2Fdwc_otg_310%2Fdwc_otg_driver.c;h=b2d5b7f8b04abfc898145890c165d93d6fe2fd65;hp=eaf6772c9c1818391c5a4746d3b67e3140870b3e;hb=4aa5b95c1e3dfc70e12196145b8f88672ec40a24;hpb=612d0d0aca5b5db5699999f9a1bed49a6c355404 diff --git a/drivers/usb/dwc_otg_310/dwc_otg_driver.c b/drivers/usb/dwc_otg_310/dwc_otg_driver.c index eaf6772c9c18..b2d5b7f8b04a 100644 --- a/drivers/usb/dwc_otg_310/dwc_otg_driver.c +++ b/drivers/usb/dwc_otg_310/dwc_otg_driver.c @@ -386,6 +386,7 @@ void dwc_otg_force_device(dwc_otg_core_if_t *core_if) local_irq_save(flags); if (core_if->op_state == B_PERIPHERAL) { + local_irq_restore(flags); printk ("dwc_otg_force_device,already in B_PERIPHERAL,everest\n"); return;