commit | 877687a5e899fdc5057df280ff2f042cf9d15c0e | [log] [tgz] |
---|---|---|
author | Jack Wu <[email protected]> | Wed Jul 27 22:17:11 2022 +0800 |
committer | Jack Wu <[email protected]> | Wed Aug 03 03:48:15 2022 +0000 |
tree | f5141da89c797a27e92535725b8be06f8bc553d3 | |
parent | 8e2ddbd91ba4bbd2b3defc4654fd4511589bbcff [diff] |
google_cpm: fix length check failure on mdis init Length of mdis-out-x-limits including tcpm_psy and wlc_dc_psy is twice thermal_levels. Use mdis_in_count to check length to avoid failure when charge pump is not supported. Bug: 240362572 Signed-off-by: Jack Wu <[email protected]> Change-Id: Iaae3b27f67e15cacff4e33e72b2c5f214186caa5