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

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

Merge "power: smb5: Disable rid change interrupt soruces"

parents 88aabc45 c1bb138f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1739,6 +1739,14 @@ static int smb5_configure_typec(struct smb_charger *chg)
		}
	}

	/* Disable TypeC and RID change source interrupts */
	rc = smblib_write(chg, TYPE_C_INTERRUPT_EN_CFG_2_REG, 0);
	if (rc < 0) {
		dev_err(chg->dev,
			"Couldn't configure Type-C interrupts rc=%d\n", rc);
		return rc;
	}

	return rc;
}