power: qpnp-fg: do not dump sram without debug mask
Currently, loading a battery profile for the first time will always dump
the fuel gauge SRAM. This is incorrect.
Fix this by requiring that the first_est_dump module parameter be set
before dumping the SRAM.
Change-Id: If9160772c140b4467cd88575ecf7b9781e02c9bd
Signed-off-by:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment