summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/charge_ramp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/charge_ramp.c b/common/charge_ramp.c
index 415e36a816..68a9c8ef96 100644
--- a/common/charge_ramp.c
+++ b/common/charge_ramp.c
@@ -46,8 +46,8 @@ test_mockable int chg_ramp_max(int supplier, int sup_curr)
#ifdef CONFIG_CHARGE_RAMP_HW
case CHARGE_SUPPLIER_PD:
case CHARGE_SUPPLIER_TYPEC:
-#endif
return sup_curr;
+#endif
/* default: fall through */
}