Message ID | 20240118121016.3734770-1-alexander.stein@ew.tq-group.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 50c4f8172dbf9fdf152eae5179e233879a72dd47 |
Headers | show |
Series | [1/1] spi: nxp-fspi: Adjust LUT debug output alignment | expand |
On 24/01/18 01:10PM, Alexander Stein wrote: > 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 <alexander.stein@ew.tq-group.com> Acked-by: Han Xu <han.xu@nxp.com> > --- > drivers/spi/spi-nxp-fspi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 */ > -- > 2.34.1 >
On Thu, 18 Jan 2024 13:10:16 +0100, Alexander Stein wrote: > Ensure the command value and LUT entry values have a fixed width. This > way consecutive output lines can be read much easier. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: nxp-fspi: Adjust LUT debug output alignment commit: 50c4f8172dbf9fdf152eae5179e233879a72dd47 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
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 */
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 <alexander.stein@ew.tq-group.com> --- drivers/spi/spi-nxp-fspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)