diff options
author | Hongbin Ji <jhb_ee@163.com> | 2023-02-22 10:21:28 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-23 12:40:16 +0100 |
commit | 152ac60677aa3760d0850de0db33d495f55e8aba (patch) | |
tree | deae16cf9a3541170a9d9c102ba02a78549ca815 /drivers/spi | |
parent | spi: dt-bindings: qcom,spi-qcom-qspi: document OPP and power-domains (diff) | |
download | linux-152ac60677aa3760d0850de0db33d495f55e8aba.tar.xz linux-152ac60677aa3760d0850de0db33d495f55e8aba.zip |
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-cadence-quadspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c index 2954c06a7f57..64b6a460d739 100644 --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -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; } |