]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: add option to quieten off the no device found messgae
authorBen Dooks <ben@simtec.co.uk>
Mon, 2 Nov 2009 18:12:33 +0000 (18:12 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:48:31 +0000 (09:48 +0000)
commit914f11d7deb9c01afc7bc0cd04413ca4536dac50
tree92fda540b31a8687dca448fd1e91dd1f78a08825
parentf0e83dacc7e9b1f6a0fae876abb24f8808d71d53
mtd: nand: add option to quieten off the no device found messgae

Add NAND_SCAN_SILENT_NODEV to chip->options to the user-worrying messages
'No NAND device found!!!'. This message often worries users (was three
exclamation marks really necessary?) and especially in systems such as the
Simtec Osiris where there may be optional NAND devices which are not
known until probe time.

Revised version of the original NAND_PROBE_SPECULATIVE patch after comments
by Artem Bityutskiy about adding a whole new call.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h