mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
Merge "usb: dwc3-msm: Disable PHY wakeup IRQs on hibernation"
This commit is contained in:
commit
9adb2b478a
1 changed files with 2 additions and 2 deletions
|
|
@ -2965,11 +2965,11 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse)
|
|||
atomic_set(&dwc->in_lpm, 1);
|
||||
|
||||
/*
|
||||
* with DCP or during cable disconnect, we dont require wakeup
|
||||
* with the core in power collapse, we dont require wakeup
|
||||
* using HS_PHY_IRQ or SS_PHY_IRQ. Hence enable wakeup only in
|
||||
* case of host bus suspend and device bus suspend.
|
||||
*/
|
||||
if (mdwc->in_device_mode || mdwc->in_host_mode) {
|
||||
if (!(mdwc->lpm_flags & MDWC3_POWER_COLLAPSE)) {
|
||||
if (mdwc->use_pdc_interrupts) {
|
||||
enable_usb_pdc_interrupt(mdwc, true);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue