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

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

Merge "spi: spi-geni-qcom: Set the Link Rx bit" into msm-4.14

parents de968782 cc1bcc86
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -388,6 +388,7 @@ static struct msm_gpi_tre *setup_go_tre(int cmd, int cs, int rx_len, int flags,
	int chain;
	int chain;
	int eot;
	int eot;
	int eob;
	int eob;
	int link_rx = 0;


	if (IS_ERR_OR_NULL(go_tre))
	if (IS_ERR_OR_NULL(go_tre))
		return go_tre;
		return go_tre;
@@ -404,7 +405,10 @@ static struct msm_gpi_tre *setup_go_tre(int cmd, int cs, int rx_len, int flags,
		chain = 1;
		chain = 1;
		eob = 0;
		eob = 0;
	}
	}
	go_tre->dword[3] = MSM_GPI_SPI_GO_TRE_DWORD3(0, 0, eot, eob, chain);
	if (cmd & SPI_RX_ONLY)
		link_rx = 1;
	go_tre->dword[3] = MSM_GPI_SPI_GO_TRE_DWORD3(link_rx, 0, eot, eob,
								chain);
	GENI_SE_DBG(mas->ipc, false, mas->dev,
	GENI_SE_DBG(mas->ipc, false, mas->dev,
	"%s: rx len %d flags 0x%x cs %d cmd %d eot %d eob %d chain %d\n",
	"%s: rx len %d flags 0x%x cs %d cmd %d eot %d eob %d chain %d\n",
		__func__, rx_len, flags, cs, cmd, eot, eob, chain);
		__func__, rx_len, flags, cs, cmd, eot, eob, chain);