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

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

Merge "power: qpnp-smbcharger: Release wakeup source on USB removal"

parents ced2d2d1 4658cf9c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4852,6 +4852,7 @@ static void handle_usb_removal(struct smbchg_chip *chip)
		chip->typec_current_ma = 0;
	/* cancel/wait for hvdcp pending work if any */
	cancel_delayed_work_sync(&chip->hvdcp_det_work);
	smbchg_relax(chip, PM_DETECT_HVDCP);
	smbchg_change_usb_supply_type(chip, POWER_SUPPLY_TYPE_UNKNOWN);

	if (chip->parallel.use_parallel_aicl) {