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

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

Merge "qcom-charger: qpnp-smb2: disable vbus-error IRQ trigger"

parents 556668c6 773ed5ba
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -635,11 +635,10 @@ static int smb2_init_hw(struct smb2 *chip)

	/*
	 * trigger the usb-typec-change interrupt only when the CC state
	 * changes, or there was a VBUS error
	 * changes
	 */
	rc = smblib_write(chg, TYPE_C_INTRPT_ENB_REG,
			    TYPEC_CCSTATE_CHANGE_INT_EN_BIT
			  | TYPEC_VBUS_ERROR_INT_EN_BIT);
			  TYPEC_CCSTATE_CHANGE_INT_EN_BIT);
	if (rc < 0) {
		dev_err(chg->dev,
			"Couldn't configure Type-C interrupts rc=%d\n", rc);