[PATCH RFC 11/16] spi: nxp-xspi: Fix a comment
Bough Chen
haibo.chen at oss.nxp.com
Fri Nov 27 01:08:40 PST 2026
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 at bootlin.com>
Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
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
>
More information about the linux-riscv
mailing list