mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
spi/omap-mcspi: Fix the spi task hangs waiting dma_rx
The spi hangs waiting the completion of omap2_mcspi_rx_callback. Signed-off-by: Jorge A. Ventura <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
This commit is contained in:
parent
fab6a0410d
commit
3d0763c006
1 changed files with 2 additions and 1 deletions
|
|
@ -329,7 +329,8 @@ static void omap2_mcspi_set_fifo(const struct spi_device *spi,
|
|||
disable_fifo:
|
||||
if (t->rx_buf != NULL)
|
||||
chconf &= ~OMAP2_MCSPI_CHCONF_FFER;
|
||||
else
|
||||
|
||||
if (t->tx_buf != NULL)
|
||||
chconf &= ~OMAP2_MCSPI_CHCONF_FFET;
|
||||
|
||||
mcspi_write_chconf0(spi, chconf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue