| Submitter | Artem Bityutskiy |
|---|---|
| Date | Jan. 16, 2012, 10:24 a.m. |
| Message ID | <1326709475.14299.34.camel@sauron.fi.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/136267/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 6c3fb5a..58a49e7 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -691,6 +691,8 @@ static int io_init(struct ubi_device *ubi) ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); ubi->max_write_size = ubi->mtd->writebufsize; + ubi->max_write_size = 256; + /* * Maximum write size has to be greater or equivalent to min. I/O * size, and be multiple of min. I/O size.