Some UBI fixes, one to make writing to UBI devices actually work.
Sascha
----------------------------------------------------------------
Sascha Hauer (2):
ubi: cdev->write has to return the bytes read, not 0
ubi: align ubi writes to LEB size
drivers/mtd/ubi/cdev.c | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)