From: Brian Norris Date: Tue, 31 Jan 2012 08:06:03 +0000 (-0800) Subject: mtd: m25p80: set writebufsize X-Git-Tag: v3.2.15~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f60a95fc14d047632a071ed9486d1fa4bd199ec;p=pandora-kernel.git mtd: m25p80: set writebufsize commit b54f47c8bcfc5f766bf13ec31bd7dd1d4726d33b upstream. Using UBI on m25p80 can give messages like: UBI error: io_init: bad write buffer size 0 for 1 min. I/O unit We need to initialize writebufsize; I think "page_size" is the correct "bufsize", although I'm not sure. Comments? Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed