From: Alexander Stein Date: Thu, 18 Jan 2024 12:10:16 +0000 (+0100) Subject: spi: nxp-fspi: Adjust LUT debug output alignment X-Git-Tag: v6.9-rc1~142^2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50c4f8172dbf9fdf152eae5179e233879a72dd47;p=thirdparty%2Fkernel%2Flinux.git spi: nxp-fspi: Adjust LUT debug output alignment Ensure the command value and LUT entry values have a fixed width. This way consecutive output lines can be read much easier. Signed-off-by: Alexander Stein Link: https://msgid.link/r/20240118121016.3734770-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c index e13f678f23952..88397f712a3b5 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -591,7 +591,7 @@ static void nxp_fspi_prepare_lut(struct nxp_fspi *f, for (i = 0; i < ARRAY_SIZE(lutval); i++) fspi_writel(f, lutval[i], base + FSPI_LUT_REG(i)); - dev_dbg(f->dev, "CMD[%x] lutval[0:%x \t 1:%x \t 2:%x \t 3:%x], size: 0x%08x\n", + dev_dbg(f->dev, "CMD[%02x] lutval[0:%08x 1:%08x 2:%08x 3:%08x], size: 0x%08x\n", op->cmd.opcode, lutval[0], lutval[1], lutval[2], lutval[3], op->data.nbytes); /* lock LUT */