Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1f3a469d authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: dwc3-msm: Set proper ssphy flag during peripheral bus suspend



'Commit fb34a13a ("usb: dwc3: Add support for 4 PHYs for dual
port controller")' updated the SSPHY flags with DEVICE_IN_SS_MODE
bit in dwc3_msm_is_host_superspeed function. This was moved from
dwc3_msm_suspend function but flag update for device mode was not
taken care of. This leads to improper fields in the
AUTONOMOUS_MODE_CTRL register and SSPHY irq gets fired as soon as
we go into low power mode and enable the ss_phy_irq.
Fix this by updating the ssphy flags with DEVICE_IN_SS_MODE bit
based on speed in dwc3_msm_is_dev_superspeed function.

Change-Id: Ie669ff2ae80b87ace624cfcefeefb34b8a4cc0a0
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 260264b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment