google_cpm: don't update fcc by DC_FCC when device is not in DC

Don't vote fcc by DC_FCC when dc_index is GCPM_DEFAULT_CHARGER or
GCPM_INDEX_DC_DISABLE.

Bug: 239874154
Signed-off-by: Wasb Liu <wasbliu@google.com>
Change-Id: Ie5836da5e2e6060243a4e512ec51b4ff14f0a05a
(cherry picked from commit 8e2ddbd91ba4bbd2b3defc4654fd4511589bbcff)
1 file changed