From: Brian Norris Date: Tue, 31 Jan 2012 08:06:03 +0000 (-0800) Subject: mtd: m25p80: set writebufsize X-Git-Tag: v3.4-rc1~16^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54f47c8bcfc5f766bf13ec31bd7dd1d4726d33b;p=pandora-kernel.git mtd: m25p80: set writebufsize 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 Cc: stable@kernel.org [2.6.38+] Signed-off-by: David Woodhouse --- Reading git-diff-tree failed