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

Commit b07d219d authored by Mukesh Kumar Savaliya's avatar Mukesh Kumar Savaliya
Browse files

i3c: i3c-master-qcom-geni: Fix wrong reset of the TX, RX engine



This change corrects the wrong reset of the Primary and Secondary
Engine of the QUP SE upon read, write error.

Change-Id: I6d1461864745e22f10f87521947a934dcb02d161
Signed-off-by: default avatarMukesh Kumar Savaliya <msavaliy@codeaurora.org>
parent 3f06319b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -806,10 +806,10 @@ static int _i3c_geni_execute_command
		if (gi3c->err) {
			if (rnw == READ_TRANSACTION)
				writel_relaxed(1, gi3c->se.base +
					SE_DMA_TX_FSM_RST);
					SE_DMA_RX_FSM_RST);
			else
				writel_relaxed(1, gi3c->se.base +
					SE_DMA_RX_FSM_RST);
					SE_DMA_TX_FSM_RST);
			wait_for_completion_timeout(&gi3c->done, XFER_TIMEOUT);
		}
		geni_se_rx_dma_unprep(gi3c->se.i3c_rsc.wrapper_dev,