From: Michael Walle Date: Wed, 23 Feb 2022 13:43:49 +0000 (+0100) Subject: mtd: spi-nor: xilinx: correct the debug message X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=56b852e8635ba83ecd47ad5f6ad269e8ab782ec8;p=linux.git mtd: spi-nor: xilinx: correct the debug message XRDSR is a combination of xilinx and the RDSR opcode, but the register is just the status register. Correct the debug message. Signed-off-by: Michael Walle Signed-off-by: Tudor Ambarus Reviewed-by: Pratyush Yadav Link: https://lore.kernel.org/r/20220223134358.1914798-24-michael@walle.cc --- diff --git a/drivers/mtd/spi-nor/xilinx.c b/drivers/mtd/spi-nor/xilinx.c index ffd5579d45cb1..9459ac2609dc0 100644 --- a/drivers/mtd/spi-nor/xilinx.c +++ b/drivers/mtd/spi-nor/xilinx.c @@ -87,7 +87,7 @@ static int xilinx_nor_read_sr(struct spi_nor *nor, u8 *sr) } if (ret) - dev_dbg(nor->dev, "error %d reading XRDSR\n", ret); + dev_dbg(nor->dev, "error %d reading SR\n", ret); return ret; }