[PATCH v2] spi: spi-mem: Introduce a default ->exec_op() debug log

Alexander Dahl ada at thorsis.com
Thu Mar 20 08:10:13 PDT 2025


Hello Miquel,

Am Thu, Mar 20, 2025 at 12:56:44PM +0100 schrieb Miquel Raynal:
> Many spi-mem controller drivers have a very similar debug log at the
> beginning of their ->exec_op() callback implementation. This debug log is
> effectively useful, so let's create one that is complete and concise
> enough, so developers no longer need to write their own. The verbosity
> being high, VERBOSE_DEBUG will be required in this case.
> 
> Remove the debug log from individual drivers and propose a common one.

Like it.  Especially because it allows this kind of log together with
drivers which did not have such logging yet (like atmel-quadspi).

Tested-by: Alexander Dahl <ada at thorsis.com>

Greets
Alex




More information about the linux-mtd mailing list