diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-16 13:16:14 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 00:08:55 -0800 |
commit | cb85b7e7a0605de2de139d2c293ff10affc8a81c (patch) | |
tree | e6b32303d7e6d7a6fe6ee23f41155748215770d2 /drivers/mtd | |
parent | 9211439b8a933a624d770113d0e0aa742db2ec67 (diff) | |
download | linux-stable-cb85b7e7a0605de2de139d2c293ff10affc8a81c.tar.gz linux-stable-cb85b7e7a0605de2de139d2c293ff10affc8a81c.tar.bz2 linux-stable-cb85b7e7a0605de2de139d2c293ff10affc8a81c.zip |
mtd: dataflash: Say if we find a device we don't support
Ensure that the error message if we identify a flash we don't know how to
talk to is displayed on the console in order to aid diagnostics. While
we're at convert the message to use dev_info() rather than our hand rolled
version of it for consistency.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/mtd_dataflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 1cfbfcfb6e19..4a47b0266d4e 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -879,7 +879,7 @@ static int dataflash_probe(struct spi_device *spi) break; /* obsolete AT45DB1282 not (yet?) supported */ default: - pr_debug("%s: unsupported device (%x)\n", dev_name(&spi->dev), + dev_info(&spi->dev, "unsupported device (%x)\n", status & 0x3c); status = -ENODEV; } |