incubator-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 cmake: fix CMake build break 2023-07-15 23:32:36 +08:00
Kconfig Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
Make.defs tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00
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 drivers/spi/spi_bitbang: Add private data on spi_bitbang 2023-04-27 17:06:14 +08:00
spi_driver.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
spi_flash.c c89: get rid of designated initializers in common code 2022-03-28 13:39:27 +08:00
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 drivers/spi:Define SPI_~CS~_DELAY_CONTROL to support other delays 2021-11-06 05:14:05 -05:00