power: qpnp-fg-gen4: Change profile compare length
Currently, we're reading the entire profile partition to see if
the profile loaded onto FG SRAM is matching with the profile
available from battery profile. Based on the parameters defined
in the battery profile, some of the words in the profile region
would be modified after loading the profile. Hence reduce the
profile compare length to 24 bytes to determine whether the
profile is different.
Change-Id: Id156f837bd6b9d330f0bc251e4dbbb9e2f054ed6
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment