Loading
mtd: msm_qpic_nand: fix oobavail value
The layout for msm nand targets specifies that "oobavail" parameter of
"struct mtd_info" is dependent on the page size of the device rather than
the spare size. Fix the condition that sets the "oobavail" value.
CRs-Fixed: 791500
Change-Id: I88f8a0d445245a683d19852598b5b86f90778af3
Signed-off-by:
Krishna Konda <kkonda@codeaurora.org>