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

Commit c3c8c9bf 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: Modify GSI Rx transfer issue logic"

parents 7da7f922 12858823
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -647,11 +647,11 @@ static int setup_gsi_xfer(struct spi_transfer *xfer,
					&mas->gsi[mas->num_xfers].desc_cb;
	mas->gsi[mas->num_xfers].tx_cookie =
			dmaengine_submit(mas->gsi[mas->num_xfers].tx_desc);
	if (mas->num_rx_eot)
	if (cmd & SPI_RX_ONLY)
		mas->gsi[mas->num_xfers].rx_cookie =
			dmaengine_submit(mas->gsi[mas->num_xfers].rx_desc);
	dma_async_issue_pending(mas->tx);
	if (mas->num_rx_eot)
	if (cmd & SPI_RX_ONLY)
		dma_async_issue_pending(mas->rx);
	mas->num_xfers++;
	return ret;