Commits

Shawn Goff committed e50660d

Set writebufsize in m25p80 driver, needed by UBI.

Comments (0)

Files changed (1)

drivers/mtd/devices/m25p80.c

 
 	flash->mtd.dev.parent = &spi->dev;
 	flash->page_size = info->page_size;
+	flash->mtd.writebufsize = flash->page_size;
 
 	if (info->addr_width)
 		flash->addr_width = info->addr_width;