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

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

Merge "power: smb135x-charger: use only usbin_uv/_ov for removal"

parents 480c7178 08b5f6d7
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2016,11 +2016,6 @@ static int src_detect_handler(struct smb135x_chg *chip, u8 rt_stat)

	pr_debug("chip->usb_present = %d usb_present = %d\n",
			chip->usb_present, usb_present);
	if (chip->usb_present && !usb_present) {
		/* USB removed */
		chip->usb_present = usb_present;
		handle_usb_removal(chip);
	}

	if (!chip->usb_present && usb_present) {
		/* USB inserted */