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

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

Merge "USB: msm_otg: Add proper check for used delay"

parents 2c11a4ee 0e101122
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2522,6 +2522,7 @@ static void msm_chg_detect_work(struct work_struct *w)
		 * due to which charger detection fails in case of PET.
		 * Add delay of 100 microsec to avoid that.
		 */
		if (aca_enabled())
			udelay(100);
		msm_chg_enable_aca_intr(motg);
		dev_dbg(phy->dev, "chg_type = %s\n",