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

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

Merge "USB: phy: msm: Perform runtimePM_put as soon as SDP is detected"

parents dce7cede 9065cd49
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2545,6 +2545,7 @@ static void msm_chg_detect_work(struct work_struct *w)


			motg->chg_state = USB_CHG_STATE_DETECTED;
			motg->chg_state = USB_CHG_STATE_DETECTED;
			delay = 0;
			delay = 0;
			goto state_detected;
		}
		}
		break;
		break;
	case USB_CHG_STATE_PRIMARY_DONE:
	case USB_CHG_STATE_PRIMARY_DONE:
@@ -2558,6 +2559,7 @@ static void msm_chg_detect_work(struct work_struct *w)
	case USB_CHG_STATE_SECONDARY_DONE:
	case USB_CHG_STATE_SECONDARY_DONE:
		motg->chg_state = USB_CHG_STATE_DETECTED;
		motg->chg_state = USB_CHG_STATE_DETECTED;
	case USB_CHG_STATE_DETECTED:
	case USB_CHG_STATE_DETECTED:
state_detected:
		/*
		/*
		 * Notify the charger type to power supply
		 * Notify the charger type to power supply
		 * owner as soon as we determine the charger.
		 * owner as soon as we determine the charger.