Commit 92aae4ce authored by Flavio Suligoi's avatar Flavio Suligoi Committed by Tudor Ambarus

mtd: spi-nor: change "error reading JEDEC id" from dbg to err

In case of SPI error during the reading of the nor Id,
the probe fails without any error message related to
the JEDEC Id reading procedure.
Signed-off-by: default avatarFlavio Suligoi <f.suligoi@asem.it>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
parent 21ed90ac
......@@ -2065,7 +2065,7 @@ static const struct flash_info *spi_nor_read_id(struct spi_nor *nor)
tmp = nor->read_reg(nor, SPINOR_OP_RDID, id, SPI_NOR_MAX_ID_LEN);
if (tmp < 0) {
dev_dbg(nor->dev, "error %d reading JEDEC ID\n", tmp);
dev_err(nor->dev, "error %d reading JEDEC ID\n", tmp);
return ERR_PTR(tmp);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment