Re: [PATCH v1 02/11] spi: dw: update NDF while using enhanced spi mode
From: Mark Brown
Date: Sun Jul 19 2026 - 18:51:57 EST
On Wed, Jul 08, 2026 at 10:51:55PM -0700, Changhuang Liang wrote:
> + else if (cfg->tmode == DW_SPI_CTRLR0_TMOD_TO &&
> + dws->caps & DW_SPI_CAP_EMODE)
> + dw_writel(dws, DW_SPI_CTRLR1, cfg->ndf);
This breaks the build:
/build/stage/linux/drivers/spi/spi-dw-core.c: In function ‘dw_spi_update_config’:
/build/stage/linux/drivers/spi/spi-dw-core.c:352:30: error: ‘DW_SPI_CAP_EMODE’ undeclared (first use in this function); did you mean ‘DW_SPI_CAP_DFS32’?
352 | dws->caps & DW_SPI_CAP_EMODE)
| ^~~~~~~~~~~~~~~~
| DW_SPI_CAP_DFS32
Attachment:
signature.asc
Description: PGP signature