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

Miquel Raynal miquel.raynal at bootlin.com
Mon Jan 31 08:22:06 PST 2022


On Thu, 2022-01-27 at 09:18:04 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>
> Link: https://lore.kernel.org/linux-mtd/20220104083631.40776-10-miquel.raynal@bootlin.com

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