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

Commit c97f5cfd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: Add check for SDP charger type"

parents a654eb70 6e1f8029
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3897,7 +3897,8 @@ static void dwc3_msm_otg_sm_work(struct work_struct *w)
				pm_runtime_get_noresume(mdwc->dev);
				dwc3_initialize(mdwc);
				/* check dp/dm for SDP & runtime_put if !SDP */
				if (mdwc->detect_dpdm_floating) {
				if (mdwc->detect_dpdm_floating &&
					mdwc->chg_type == DWC3_SDP_CHARGER) {
					dwc3_check_float_lines(mdwc);
					if (mdwc->chg_type != DWC3_SDP_CHARGER)
						break;