commit | a5ca9cc310f5338191f4f6daf3d318a395fb54f0 | [log] [tgz] |
---|---|---|
author | Jenny Ho <[email protected]> | Wed Nov 29 17:59:58 2023 +0800 |
committer | Jenny Ho <[email protected]> | Thu Nov 30 01:19:26 2023 +0000 |
tree | 05ddb1c3149a064c1879baa288dbc2485aaccd3c | |
parent | 23c827c0534a65916b5699e9dccff41c07987096 [diff] |
max1720x_battery: fix model loading retry process model load work runs when model_reload >= MAX_M5_LOAD_MODEL_REQUEST, accumulating model_reload is a reasonable approach. The POR bit is only cleared when the model is loaded successfully Bug: 313831863 Change-Id: I0125cd4b4710fa6c5ce832529b5c404445def545 Signed-off-by: Jenny Ho <[email protected]> (cherry-pick from commit ba5886160fe4dc8660cfd1f3bc148139539eda7b)