Searched hist:e4b2e43c44934b500dbb9dbf7207d9bcd7a2ab77 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | pl022_spi.c | e4b2e43c44934b500dbb9dbf7207d9bcd7a2ab77 Fri Apr 12 14:58:07 UTC 2019 Victor Chong <victor.chong@linaro.org> pl022_spi: simplify receive of remaining data
If the expected number of packets are not received during the transmit+receive cycle, just receive the remaining data after the cycle if the Receive FIFO (SSPSR_RNE) is not empty, without depending on the busy (SSPSR_BSY) flag, else we might miss reading some data as indicated in [1].
LINK: [1] https://github.com/OP-TEE/optee_os/issues/1461#issuecomment-306156463
Signed-off-by: Victor Chong <victor.chong@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
|