diff options
author | Rini van Zetten <[email protected]> | 2007-12-10 15:49:34 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-12-10 19:43:55 -0800 |
commit | d84248bf46582a406116c55b94405c05193773b1 (patch) | |
tree | eb27fdfc1ea343f2af847e1c93cc39386d0b4f45 /fs/jbd2/commit.c | |
parent | 6650e0a517bbfa1c47aa3da6b3562fcb1a066c63 (diff) |
atmel_spi: reload RCR before TCR
We have a wifi module connected to the spi bus and got sometimes FIFO
overrun errors on the spi bus.
After some investigation i found that the driver loads the TCR (transmit
count) register before the RCR (receive count). When the transfer list is
not empty the atmel_spi_next_message is called while tx and rx are enabled.
As soon as the TCR is loaded, hardware starts transfer and causes a rx
fifo overrun because the RCR is not loaded yet.
Load the RCR before the TCR. After this patch the fifo overrun disapears
at out setup.
Signed-off-by: Haavard Skinnemoen <[email protected]>
Signed-off-by: Rini van Zetten <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions