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

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

Merge "i2c-msm-v2: correct tx only transfer in block mode"

parents 3d9b8c14 6629ac84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1759,7 +1759,7 @@ static int i2c_msm_blk_xfer(struct i2c_msm_ctrl *ctrl)

	/* tx_cnt > 0 always */
	blk->complete_mask = QUP_MAX_OUTPUT_DONE_FLAG;
	if (&ctrl->xfer.rx_cnt)
	if (ctrl->xfer.rx_cnt)
		blk->complete_mask |= QUP_MAX_INPUT_DONE_FLAG;

	/* initialize block mode for new transfer */