nuttx/drivers/spi
dongjiuzhu1 dcb8188f07 driver/spi: avoid calling QPOLL to change rx_length and cause data loss
When the application calls poll and returns the POLLIN event,
QPOLL will be called again during the read operation,
causing rx_length to change and data to be lost.
Therefore, read only need to actively call qpoll to collect driver
data when rx length is 0.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-09-24 10:34:55 +08:00
..
CMakeLists.txt
Kconfig Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
Make.defs
qspi_flash.c Fix error: spi/qspi_flash.c:576:45: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 2023-09-12 10:02:50 +08:00
spi_bitbang.c
spi_driver.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
spi_flash.c
spi_slave_driver.c driver/spi: avoid calling QPOLL to change rx_length and cause data loss 2023-09-24 10:34:55 +08:00
spi_transfer.c