aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/otg/msm_otg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg/msm_otg.c
index 296598628b85..f58b7dab75aa 100644
--- a/drivers/usb/otg/msm_otg.c
+++ b/drivers/usb/otg/msm_otg.c
@@ -389,14 +389,14 @@ skip_phy_resume:
389 if (bus) 389 if (bus)
390 set_bit(HCD_FLAG_HW_ACCESSIBLE, &(bus_to_hcd(bus))->flags); 390 set_bit(HCD_FLAG_HW_ACCESSIBLE, &(bus_to_hcd(bus))->flags);
391 391
392 atomic_set(&motg->in_lpm, 0);
393
392 if (motg->async_int) { 394 if (motg->async_int) {
393 motg->async_int = 0; 395 motg->async_int = 0;
394 pm_runtime_put(otg->dev); 396 pm_runtime_put(otg->dev);
395 enable_irq(motg->irq); 397 enable_irq(motg->irq);
396 } 398 }
397 399
398 atomic_set(&motg->in_lpm, 0);
399
400 dev_info(otg->dev, "USB exited from low power mode\n"); 400 dev_info(otg->dev, "USB exited from low power mode\n");
401 401
402 return 0; 402 return 0;