From: Ezequiel Garcia Date: Wed, 14 May 2014 17:58:06 +0000 (-0300) Subject: mtd: nand: Warn the user if the selected ECC strength is too weak X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a9ad9b8a6f6ea76ef8fc484ae49970d72d5534;p=pandora-kernel.git mtd: nand: Warn the user if the selected ECC strength is too weak This commit makes use of the chip->ecc_strength_ds and chip->ecc_step_ds which contain the datasheet minimum requested ECC strength to produce a noisy warning if the configured ECC strength is weaker. Signed-off-by: Ezequiel Garcia Signed-off-by: Brian Norris --- Reading git-diff-tree failed