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

Skip to content
Commit d0a49d73 authored by Konstantin Dorfman's avatar Konstantin Dorfman Committed by Stephen Boyd
Browse files

mmc: card: CORRECTLY_PRG_SECTORS_NUM parsing fix



According to eMMC specification (4.5 onwards), CORRECTLY_PRG_SECTORS_NUM
field will reflect the accumulated packed sectors that were transferred
plus header. The header (1 sector size) is not actually written to NAND.

The fix will decrement correctly programmed sectors byte count by 1 sector
size.

CRs-fixed: 518341
Change-Id: I94a79903469c011308fcaf195fce5af5f0525026
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 8757bc69
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