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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| qspi_flash.c | ||
| spi_bitbang.c | ||
| spi_driver.c | ||
| spi_flash.c | ||
| spi_slave_driver.c | ||
| spi_transfer.c | ||