From: Huang Shijie Date: Wed, 4 Jan 2012 03:18:46 +0000 (+0800) Subject: mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23 X-Git-Tag: v3.3-rc3~26^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9398d1ce09b9009996f7d2468e1d3c785fa6feda;p=pandora-kernel.git mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23 In MX28, if we do not reset the BCH module. The BCH module may becomes unstable when the board reboots for several thousands times. This bug has been catched in customer's production. The patch adds some comments (some from Wolfram Sang), and fixes it now. Also change gpmi_reset_block() to static. Signed-off-by: Huang Shijie Acked-by: Marek Vasut Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse Cc: stable@kernel.org [3.1+] --- Reading git-diff-tree failed