Skip to content

Commit 152ac60

Browse files
jhbdreambroonie
authored andcommitted
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>
1 parent 7234d74 commit 152ac60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-cadence-quadspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ static int cqspi_indirect_read_execute(struct cqspi_flash_pdata *f_pdata,
786786
writel(0, reg_base + CQSPI_REG_IRQMASK);
787787

788788
/* Cancel the indirect read */
789-
writel(CQSPI_REG_INDIRECTWR_CANCEL_MASK,
789+
writel(CQSPI_REG_INDIRECTRD_CANCEL_MASK,
790790
reg_base + CQSPI_REG_INDIRECTRD);
791791
return ret;
792792
}

0 commit comments

Comments
 (0)