mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
spi: cadence-quadspi: Fix cancel the indirect read mask
This is to cancel the indirect read transfer process, so should be use CQSPI_REG_INDIRECTRD_CANCEL_MASK Signed-off-by: Hongbin Ji <jhb_ee@163.com> Link: https://lore.kernel.org/r/20230222092128.4237-1-jhb_ee@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -786,7 +786,7 @@ failrd:
|
||||
writel(0, reg_base + CQSPI_REG_IRQMASK);
|
||||
|
||||
/* Cancel the indirect read */
|
||||
writel(CQSPI_REG_INDIRECTWR_CANCEL_MASK,
|
||||
writel(CQSPI_REG_INDIRECTRD_CANCEL_MASK,
|
||||
reg_base + CQSPI_REG_INDIRECTRD);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user