mtd: m25p80: Reinstate error print on unrecognized flash
authorKevin Cernekee <cernekee@gmail.com>
Sun, 31 Oct 2010 04:11:02 +0000 (21:11 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:26:08 +0000 (16:26 +0000)
commitf0dff9bd00d2cffea160fb3fa015b77607458634
treeb3544ddcb2e4e9659530a189ba8021779d836d30
parentb7b6e08f9265db56129931983fc6c06d62c9f4f9
mtd: m25p80: Reinstate error print on unrecognized flash

Commit b34bc037b26e621e5fc13466767e4da110a7b3d3 removed the
"unrecognized JEDEC id" error message, causing the probe function to
silently abort if the flash ID is unrecognized.

It is desirable to produce diagnostic output in this situation so that
the user has some idea what went wrong.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c