]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita302081875421d0997214139c58404d6a2630e3e
treeb3544ddcb2e4e9659530a189ba8021779d836d30
parent08040edea467a2036d3f4e78731d54d106c21fbf
mtd: m25p80: Reinstate error print on unrecognized flash

Commit 35f5589ba7c1c2389eccc0821cbfeefe3cc7d445 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