On Tue, 2022-01-04 at 08:36:27 UTC, Miquel Raynal wrote: > By working with external hardware ECC engines, we figured out that > Under certain circumstances, it is needed for the SPI controller to > check INT_TX_EMPTY and INT_RX_NOT_EMPTY in both receive and transmit > path (not only in the receive path). The delay penalty being > negligible, move this code in the common path. > > Fixes: b942d80b0a39 ("spi: Add MXIC controller driver") > Cc: stable@xxxxxxxxxxxxxxx > Suggested-by: Mason Yang <masonccyang@xxxxxxxxxxx> > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Zhengxun Li <zhengxunli@xxxxxxxxxxx> > Reviewed-by: Mark Brown <broonie@xxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc. Miquel