Skip to content

Commit f724c29

Browse files
ian-abbottbroonie
authored andcommitted
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 98d948e ("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: 98d948e ("spi: cadence-quadspi: fix write completion support") Cc: Dinh Nguyen <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8868c03 commit f724c29

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
@@ -1865,7 +1865,7 @@ static const struct cqspi_driver_platdata intel_lgm_qspi = {
18651865
};
18661866

18671867
static const struct cqspi_driver_platdata socfpga_qspi = {
1868-
.quirks = CQSPI_NO_SUPPORT_WR_COMPLETION,
1868+
.quirks = CQSPI_DISABLE_DAC_MODE | CQSPI_NO_SUPPORT_WR_COMPLETION,
18691869
};
18701870

18711871
static const struct cqspi_driver_platdata versal_ospi = {

0 commit comments

Comments
 (0)