Re: [PATCH 1/5] spi: add spi_optimize_message() APIs

From: Mark Brown
Date: Tue Feb 13 2024 - 14:28:53 EST


On Tue, Feb 13, 2024 at 01:26:02PM -0600, David Lechner wrote:
> On Tue, Feb 13, 2024 at 12:55 PM Mark Brown <broonie@xxxxxxxxxx> wrote:

> > It would probably be clearer to name the parameter pre_optimising rather
> > than pre_optimized, as it is the logic is a bit confusing. Either that
> > or some comments. A similar issue applies on the cleanup path.

> Per Jonathan's suggestion, I plan to remove the parameter from this
> function and handle this flag at the call site instead.

That works too.

Attachment: signature.asc
Description: PGP signature