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

Commit 2a418b3c authored by Pradeep P V K's avatar Pradeep P V K
Browse files

mtd: msm_qpic_nand: use 64 bit BIT macro on erased page detection



When ever we encounter bit flips on an erased page durning page read
operation, those bitflips need to be cleared in the data being sent to
upper layers. The whole page worth of data will be fixed and this will
only handle about 64 pages being read at a time i.e. one erase block
worth of pages.

The current BIT macro will handle upto only 32 pages, so use 64 bit
BIT macro to handle the whole nand block of pages(64 pages).

Change-Id: I08216f7618840fb96e3230e24ff3c12d375eadae
Signed-off-by: default avatarPradeep P V K <ppvk@codeaurora.org>
parent ff1de12d
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