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

Skip to content
Commit 1f141803 authored by Pratibhasagar V's avatar Pratibhasagar V Committed by Stephen Boyd
Browse files

mtd: msm_qpic_nand: Check for the updated partition name



The partition name when read from SMEM is available in raw
format. They are not plain text but are prefixed by other
data and delimiter. If we do a lookup for partition name in it
the check may fail and may lead to wrong page address.

The partition name is updated and saved in another struct. So
instead read the part name from mtd_part(reformatted data) rather
than from the part_entry(raw data).

Change-Id: I9c9b50cdcf600314ab76da21b0f64e02824611b1
Signed-off-by: default avatarPratibhasagar V <pratibha@codeaurora.org>
parent 1a49a8c1
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