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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 7234d74 commit 152ac60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)