]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: cadence-quadspi: fix Direct Access Mode disable for SoCFPGA
authorIan Abbott <abbotti@mev.co.uk>
Wed, 27 Apr 2022 15:34:46 +0000 (16:34 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 May 2022 12:47:11 +0000 (13:47 +0100)
commitf724c296f2f2cc3f9342b0fc26239635cbed856e
tree9373675ac2b4c7e4ae962ff2820b87803554b12c
parent8868c03f3ca584abec7bb53d6c3f7c5ab6b60949
spi: cadence-quadspi: fix Direct Access Mode disable for SoCFPGA

The Cadence QSPI compatible string required for the SoCFPGA platform
changed from the default "cdns,qspi-nor" to "intel,socfpga-qspi" with
the introduction of an additional quirk in
commit 98d948eb8331 ("spi: cadence-quadspi: fix write completion support").
However, that change did not preserve the previously used
quirk for this platform.  Reinstate the `CQSPI_DISABLE_DAC_MODE` quirk
for the SoCFPGA platform.

Fixes: 98d948eb8331 ("spi: cadence-quadspi: fix write completion support")
Cc: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20220427153446.10113-1-abbotti@mev.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence-quadspi.c