Re: [PATCH v3 3/3] mtd: rawnand: r852: declare NAND_USES_DMA

From: Ping Li

Date: Wed Nov 25 2026 - 06:51:18 EST


From: leeonion.muyu@xxxxxxxxx

Hi Miquel,

On 25/11/2026 at 10:48:45 +01, Miquel Raynal wrote:
> Can't we change the default for this chip then?

Right, advertising the requirement through chip->buf_align is much
better. v4 sets chip->buf_align = R852_DMA_LEN next to the
NAND_USES_DMA declaration, so the core also bounces misaligned
linear buffers, and the local condition no longer needs a
justification of its own.

> Please drop this comment after fixing that, it is not useful,
> this is information that should belong in the commit log.

Done, the rationale lives in the commit log now.

Ping