Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212343
b: refs/heads/master
c: e1993ed
h: refs/heads/master
i:
  212341: 3be3c99
  212339: 232d02f
  212335: 6ab7edc
v: v3
  • Loading branch information
Jason Wang authored and Grant Likely committed Oct 20, 2010
1 parent 14dbbb1 commit 991ab27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db181a8ee158fd0ccea2e2670c4f2d36af2814a0
refs/heads/master: e1993ed6420afd4421336d75e73641f75da87a7f
6 changes: 6 additions & 0 deletions trunk/drivers/spi/omap2_mcspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,12 @@ omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer)
} else if (mcspi_wait_for_reg_bit(chstat_reg,
OMAP2_MCSPI_CHSTAT_EOT) < 0)
dev_err(&spi->dev, "EOT timed out\n");

/* disable chan to purge rx datas received in TX_ONLY transfer,
* otherwise these rx datas will affect the direct following
* RX_ONLY transfer.
*/
omap2_mcspi_set_enable(spi, 0);
}
out:
omap2_mcspi_set_enable(spi, 1);
Expand Down

0 comments on commit 991ab27

Please sign in to comment.