From: Anatolij Gustschin Date: Thu, 10 Feb 2011 15:01:46 +0000 (+0100) Subject: mtd: cfi: fix writebufsize initialization X-Git-Tag: v2.6.39-rc1~40^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ce77f46c79a3839e4c2ff9722c9416c165f498;p=pandora-kernel.git mtd: cfi: fix writebufsize initialization When initializing mtd->writebufsize, we must take into account possible flash chip interleaving. Wrong writebufsize initialization caused UBIFS recovery issues resulting in unmountable UBIFS file system on NOR flash partitions. Signed-off-by: Anatolij Gustschin Acked-by: Guillaume LECERF Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed