|
@@ -329,7 +329,8 @@ static void omap2_mcspi_set_fifo(const struct spi_device *spi,
|
|
|
disable_fifo:
|
|
disable_fifo:
|
|
|
if (t->rx_buf != NULL)
|
|
if (t->rx_buf != NULL)
|
|
|
chconf &= ~OMAP2_MCSPI_CHCONF_FFER;
|
|
chconf &= ~OMAP2_MCSPI_CHCONF_FFER;
|
|
|
- else
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if (t->tx_buf != NULL)
|
|
|
chconf &= ~OMAP2_MCSPI_CHCONF_FFET;
|
|
chconf &= ~OMAP2_MCSPI_CHCONF_FFET;
|
|
|
|
|
|
|
|
mcspi_write_chconf0(spi, chconf);
|
|
mcspi_write_chconf0(spi, chconf);
|