summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-06-08 10:20:24 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-08 10:20:24 -0700
commit7b67aed05337137a51fa7481cb6bd99b2197256d (patch)
treebd971d650c4ca2579bc991e491f8e012beccfb88
parent59f6052a9d7bc2c7aa2ff1dd08d6c92a5c8f7ae3 (diff)
parent23240fc81cb428f4ab5436747e2b2085765bfa63 (diff)
Merge "power: smb-lib: Modify usb max voltage reflected for QC 3.0 charger"
-rw-r--r--drivers/power/supply/qcom/smb-lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/qcom/smb-lib.c b/drivers/power/supply/qcom/smb-lib.c
index 2cf8eb4e7ceb..8eee480e4380 100644
--- a/drivers/power/supply/qcom/smb-lib.c
+++ b/drivers/power/supply/qcom/smb-lib.c
@@ -2238,6 +2238,7 @@ int smblib_get_prop_usb_voltage_max(struct smb_charger *chg,
{
switch (chg->real_charger_type) {
case POWER_SUPPLY_TYPE_USB_HVDCP:
+ case POWER_SUPPLY_TYPE_USB_HVDCP_3:
case POWER_SUPPLY_TYPE_USB_PD:
if (chg->smb_version == PM660_SUBTYPE)
val->intval = MICRO_9V;