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

Commit 26e58fde authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Gerrit - the friendly Code Review server
Browse files

power: smb5: enable HVDCP detection/authentication for microUSB



Enable HVDCP detection and authentication in micro USB mode for
Quick Charge detection.

Change-Id: I9b3d7a17dfb4ba1e9f8f1c1da1a9315d413c13c3
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 0fe1d128
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2115,6 +2115,10 @@ static int smb5_configure_micro_usb(struct smb_charger *chg)
		}
	}

	/* Enable HVDCP detection and authentication */
	if (!chg->hvdcp_disable)
		smblib_hvdcp_detect_enable(chg, true);

	return rc;
}