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

Commit 1efa5d47 authored by Sagar Dharia's avatar Sagar Dharia
Browse files

i2c: qcom: geni: Set Link-RX bit for RX transfers



Every GO command corresponding to RX transfer in GSI mode needs to
have link-RX bit set.

Change-Id: I773058a59422703a0e9f2ab9ead0262921f133f4
Signed-off-by: default avatarSagar Dharia <sdharia@codeaurora.org>
parent 5027ffca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -493,7 +493,7 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],

		if (msgs[i].flags & I2C_M_RD) {
			go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(msgs[i].len);
			go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(0, 0, 0, 1,
			go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 1,
									0);
		} else {
			go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(0);