commit | a7ab5a19c2c34c7e6cba72766e5ff4e10601da03 | [log] [tgz] |
---|---|---|
author | Abhishek Sahu <absahu@codeaurora.org> | Thu Apr 26 11:48:03 2018 +0530 |
committer | Abhishek Sahu <absahu@codeaurora.org> | Thu Apr 26 12:20:14 2018 +0530 |
tree | d0ef2a2d07678d6c29f516895b48fd5e1931b1e7 | |
parent | 2be258bb0070353f0963520f979ae81b5bce67e5 [diff] |
mtd: nand: qcom: fix ubi mount error for non ONFI nand devices Following error is coming during UBI mount for non ONFI nand device since mtd->writebufsize is coming as zero ubi0: attaching mtd2 UBI init error 22 The mtd->writebufsize is being assigned currently for ONFI devices only so move this assigment to common place. Change-Id: Idd22800dd65035952c1afd07ba375a28ffcf76ad Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>