Re: [PATCH v1 02/11] spi: dw: update NDF while using enhanced spi mode

Changhuang Liang <[email protected]>
Newsgroups org.kernel.vger.linux-spi,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <ZQ4PR01MB120201747536FD82A78329ECF2C32@ZQ4PR01MB1202.CHNPR01.prod.partner.outlook.cn>
Hi, Mark

Thanks for the review.

> 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

Will fix.

Best Regards,
Changhuang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.