diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index 73f496d5ba1a19f1c86d1d0e58e1f6faef0a57af..eb99f80361d2ce9a9a901ea2609a3ea58e2a2160 100644 --- a/drivers/usb/phy/phy-msm-usb.c +++ b/drivers/usb/phy/phy-msm-usb.c @@ -1390,7 +1390,7 @@ static int msm_otg_notify_chg_type(struct msm_otg *motg) motg->chg_type == USB_ACA_C_CHARGER)) charger_type = POWER_SUPPLY_TYPE_USB_ACA; else - charger_type = POWER_SUPPLY_TYPE_UNKNOWN; + charger_type = POWER_SUPPLY_TYPE_USB; if (!psy) { pr_err("No USB power supply registered!\n");