tag | 289fb31c8396969ce232e9f6a55862567e5fa794 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Mar 21 12:22:02 2024 -0700 |
object | 36c2a4d58e3e3ef1440dcc6512ae73b7b7d18559 |
Android 15 DP 2 Release 0.6 (AP31.240223.016.A3,tangorpro)
commit | 36c2a4d58e3e3ef1440dcc6512ae73b7b7d18559 | [log] [tgz] |
---|---|---|
author | Jenny Ho <hsiufangho@google.com> | Mon Feb 05 20:41:07 2024 +0800 |
committer | Jenny Ho <hsiufangho@google.com> | Mon Feb 05 12:54:44 2024 +0000 |
tree | 1fccc5a026276e0f2d16fc3ff77626e3a9720621 | |
parent | fb03bae03784f2b36738ce1dc81a257300f861a0 [diff] |
max1720x_battery: check gauge_type before accessing max_m5 functions This file handles both max77759 and max17201 FG, only max77759 FG allows accesses to max_m5 related functions, adds gauge type checking to prevent kernel panic Bug: 318106590 Change-Id: Ia5d5301cb2db4304ace2d3acc2d5d3b2c6c39c25 Signed-off-by: Jenny Ho <hsiufangho@google.com>