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

Commit 385739b0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "i2c: i2c-qcom-geni: Enable shared flag in GSI mode only"

parents 2b16fbf1 3adda53e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -707,6 +707,9 @@ static int geni_i2c_xfer(struct i2c_adapter *adap,
	if (gi2c->se_mode == GSI_ONLY) {
		ret = geni_i2c_gsi_xfer(adap, msgs, num);
		goto geni_i2c_txn_ret;
	} else {
		/* Don't set shared flag in non-GSI mode */
		gi2c->is_shared = false;
	}

	qcom_geni_i2c_conf(gi2c, 0);