hw/ssi/imx_spi: 2 Fixes to flush txfifo function in imx_spi
Status from this message: Applied to target-arm.next, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/ssi/imx_spi: changed while statement to prevent underflowhw/ | +1 | 1 reply | |
| 2/2 | hw/ssi/imx_spi: Removed unnecessary cast of rx data received from slavehw/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] hw/ssi/imx_spi: 2 Fixes to flush txfifo function in imx_spi
This patch series contains 2 fixes to the imx_spi_flush_txfifo function.
The first fix prevents a case in which calling imx_spi_flush_txfifo while the controller is configured (by the guest driver) to use a burst length that isn't a multiple of 8 will cause an infinite loop.
The second fix makes the spi controller compatible with slaves + guest drivers that expect to make transaction larger than 8 bits by removing an unnecessary cast.
This patch series was tested by running make check and by booting linux on a sabrelite machine (which uses an spi flash)