Home
last modified time | relevance | path

Searched hist:"7 c3bcb60b530f7238762478c8e24814dd6b8958b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/
H A Dmt_spm_pmic_lp.c7c3bcb60b530f7238762478c8e24814dd6b8958b Mon Aug 11 06:57:58 UTC 2025 irving-ch-lin <irving-ch.lin@mediatek.com> fix(mt8189): fix mt_spm_pmic coverity

The original VCORE_TO_PMIC_VAL(VCORE_0_35V) returns negative number
(VCORE_BASE_UV = 40V) and cause min voltage underflow
(-7 -> 4294967289).

Set_vcore_lp_volt will become dead code and the below condition is
not met: vol >= 4294967289 and vol <= 56(VCORE_0_75V).

Change min voltage to VCORE_0_45V suggested by designer.

Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com>
Change-Id: I8fb33d52d58ba084cc4299ea1f9327c71e4ea9eb