]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
spi: stm32-ospi: Remove exec_op() callback debug log
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 13 Feb 2026 08:19:11 +0000 (09:19 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Feb 2026 12:17:53 +0000 (12:17 +0000)
Since commit ad4488845193 ("spi: spi-mem: Introduce a default ->exec_op()
debug log") a common debug log is available in spi-mem, so remove the one
from spi-stm32-ospi driver.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://patch.msgid.link/20260213-upstream_ospi_remove_exec_op_debug_log-v1-1-164f17515fd0@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-ospi.c

index c98afe02a1b6b6e22a840fae009a4dac6a9162a1..acf2d182e8b1c1289159df7ee2fe706b244352ee 100644 (file)
@@ -469,11 +469,6 @@ static int stm32_ospi_send(struct spi_device *spi, const struct spi_mem_op *op)
        int timeout, err = 0, err_poll_status = 0;
        u8 cs = spi->chip_select[ffs(spi->cs_index_mask) - 1];
 
-       dev_dbg(ospi->dev, "cmd:%#x mode:%d.%d.%d.%d addr:%#llx len:%#x\n",
-               op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth,
-               op->dummy.buswidth, op->data.buswidth,
-               op->addr.val, op->data.nbytes);
-
        cr = readl_relaxed(ospi->regs_base + OSPI_CR);
        cr &= ~CR_CSSEL;
        cr |= FIELD_PREP(CR_CSSEL, cs);