Loading drivers/spi/spi-geni-qcom.c +6 −2 Original line number Original line Diff line number Diff line Loading @@ -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; Loading @@ -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); Loading Loading
drivers/spi/spi-geni-qcom.c +6 −2 Original line number Original line Diff line number Diff line Loading @@ -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; Loading @@ -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); Loading