[PATCH v9 09/13] spi: mxic: Fix the transmit path

Miquel Raynal miquel.raynal at bootlin.com
Wed Jan 26 02:52:47 PST 2022


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 at vger.kernel.org
> Suggested-by: Mason Yang <masonccyang at mxic.com.tw>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Zhengxun Li <zhengxunli at mxic.com.tw>
> Reviewed-by: Mark Brown <broonie at kernel.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc.

Miquel



More information about the linux-mtd mailing list