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

Commit 915c9bd2 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents f3afe2f9 1f3a469d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -497,8 +497,10 @@ static inline bool dwc3_msm_is_dev_superspeed(struct dwc3_msm *mdwc)

	speed = dwc3_msm_read_reg(mdwc->base, DWC3_DSTS) & DWC3_DSTS_CONNECTSPD;
	if ((speed & DWC3_DSTS_SUPERSPEED) ||
			(speed & DWC3_DSTS_SUPERSPEED_PLUS))
			(speed & DWC3_DSTS_SUPERSPEED_PLUS)) {
		mdwc->ss_phy->flags |= DEVICE_IN_SS_MODE;
		return true;
	}

	return false;
}