|
@@ -389,14 +389,14 @@ skip_phy_resume:
|
|
if (bus)
|
|
if (bus)
|
|
set_bit(HCD_FLAG_HW_ACCESSIBLE, &(bus_to_hcd(bus))->flags);
|
|
set_bit(HCD_FLAG_HW_ACCESSIBLE, &(bus_to_hcd(bus))->flags);
|
|
|
|
|
|
|
|
+ atomic_set(&motg->in_lpm, 0);
|
|
|
|
+
|
|
if (motg->async_int) {
|
|
if (motg->async_int) {
|
|
motg->async_int = 0;
|
|
motg->async_int = 0;
|
|
pm_runtime_put(otg->dev);
|
|
pm_runtime_put(otg->dev);
|
|
enable_irq(motg->irq);
|
|
enable_irq(motg->irq);
|
|
}
|
|
}
|
|
|
|
|
|
- atomic_set(&motg->in_lpm, 0);
|
|
|
|
-
|
|
|
|
dev_info(otg->dev, "USB exited from low power mode\n");
|
|
dev_info(otg->dev, "USB exited from low power mode\n");
|
|
|
|
|
|
return 0;
|
|
return 0;
|