diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2010-11-23 02:12:17 +0100 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2010-12-02 17:55:13 +0100 |
commit | 579d3bb2ac1a351bbf536480a9ab38199bbf901d (patch) | |
tree | 7bea16be4415566fa430df5dcb25290411dec815 /fs | |
parent | spi/pxa2xx: Add chipselect support for Sodaville (diff) | |
download | linux-579d3bb2ac1a351bbf536480a9ab38199bbf901d.tar.xz linux-579d3bb2ac1a351bbf536480a9ab38199bbf901d.zip |
spi/pxa2xx: Modify RX-Tresh instead of busy-loop for the remaining RX bytes.
After all TX bytes are sent, the driver spins while the SPI core is busy
and then it spins for a "short" period of time until RX bytes are
available.
On Sodavile the busy flag disappears pretty quick and after that it
takes approx ~130ms (sometimes less but not much) until there are bytes
available in the RX FIFO.
This patch removes the busy loop and modifies the RX threshould so we
get woken up once the remainings bytes arrived.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions