Gerhard Jörges
1e87837f2a
drivers: spi: pl022: fix dropping RX bytes
...
If the thread that submits data over spi is interrupted by a higher
priority thread while pushing data to the tx fifo the hardware pushes
data to spi and frees up space in the fifo. In this case more than
8 Bytes are written to the tx fifo and bytes in the rx fifo get lost
before they are collected in the rx while loop.
To avoid this, the tx loop is exited after a maximum of 8 bytes and the
rx loop will run until it collected all bytes from the rx fifo.
Signed-off-by: Gerhard Jörges <joerges@metratec.com >
2022-09-22 17:16:45 +02:00
..
2022-09-07 15:34:47 +02:00
2022-09-07 15:34:47 +02:00
2022-09-07 15:34:47 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-08-01 10:32:33 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-19 13:20:00 -07:00
2022-07-25 09:38:30 +02:00
2022-08-18 10:18:16 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-07-25 09:38:30 +02:00
2022-09-07 15:34:47 +02:00
2022-09-07 15:34:47 +02:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-06-13 16:19:51 -04:00
2022-07-19 15:52:36 -05:00
2022-09-01 21:48:18 +00:00
2022-08-09 12:31:23 +02:00
2022-09-06 09:57:25 +02:00
2022-09-01 01:02:50 +09:00
2022-05-06 19:58:21 +02:00
2022-09-01 01:02:50 +09:00
2022-05-27 15:27:11 -07:00
2022-09-07 15:34:35 +02:00
2022-09-07 15:34:35 +02:00
2022-09-01 01:02:50 +09:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2020-08-11 19:30:53 +02:00
2022-09-22 17:16:45 +02:00
2022-09-01 01:02:50 +09:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-08-26 09:29:48 -04:00
2022-09-01 01:02:50 +09:00
2022-05-06 19:58:21 +02:00
2022-09-05 16:31:47 +02:00
2022-09-05 16:31:47 +02:00
2022-08-26 09:29:48 -04:00
2022-09-21 18:05:32 +00:00
2022-08-26 09:29:48 -04:00