Re: [PATCH RFC 11/16] spi: nxp-xspi: Fix a comment

From: Bough Chen

Date: Fri Nov 27 2026 - 04:03:43 EST


On Wed, Nov 25, 2026 at 06:51:25PM +0100, Miquel Raynal wrote:
> Looking at the i.MX952 TRM which is I believe one of the SoCs with this
> controller inside, the maximum number of supported dummy clock cycles is
> 64 and not 32, so the code seems more accurate than the comment, which
> needs fixing.
>
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Reviewed-by: Haibo Chen <haibo.chen@xxxxxxx>

Regards
Haibo Chen
> ---
> drivers/spi/spi-nxp-xspi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/spi/spi-nxp-xspi.c b/drivers/spi/spi-nxp-xspi.c
> index 8b836662a5da..ccd00c744d18 100644
> --- a/drivers/spi/spi-nxp-xspi.c
> +++ b/drivers/spi/spi-nxp-xspi.c
> @@ -407,7 +407,7 @@ static bool nxp_xspi_supports_op(struct spi_mem *mem,
> if (op->addr.nbytes > 4)
> return false;
>
> - /* Max 32 dummy clock cycles supported */
> + /* Max 64 dummy clock cycles supported */
> if (op->dummy.ncycles > 64)
> return false;
>
>
> --
> 2.56.0
>