From: Vipin Kumar Date: Wed, 14 Mar 2012 06:17:16 +0000 (+0530) Subject: mtd: nand/fsmc: Use dev_err to report error scenario X-Git-Tag: v3.4-rc1~16^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=712c4add03277197168210bb628b8273e36adf76;p=pandora-kernel.git mtd: nand/fsmc: Use dev_err to report error scenario fsmc controller takes time to calculate the bch8 codes and the error offsets. The calculate logic checks for completion upto a timeout. This patch adds a error print when this timer expires and the ecc or error offsets are not yet calculated. Signed-off-by: Vipin Kumar Reviewed-by: Viresh Kumar Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed