Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4ac704d3 authored by Tatyana Brokhman's avatar Tatyana Brokhman
Browse files

mtd: msm_qpic_nand: Support for partial page read - fix



In case the required read length is smaller the mtd->writesize, the whole
erase block is still read but only part of it (the required length) is
returned to the user.
This patch updated the calculation of retlen (number of bytes read).

Change-Id: I377ea88f1c3fa4fc136f09f2e43db4d7ebcd4a1b
Signed-off-by: default avatarTatyana Brokhman <tlinder@codeaurora.org>
parent 555a56b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment