diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-07-10 12:55:58 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-07-10 12:55:58 -0700 |
| commit | 79401e42e898dd7bfe8ef45a204661c9064340ab (patch) | |
| tree | 8e03100426239783c497a8e17387d2b28ac05625 | |
| parent | 902ac3910e9f59d43ee0c411ae8471524258fe9a (diff) | |
| parent | 342c8676f593a75db4e02597cae0bdd8d828d861 (diff) | |
Merge "power: qpnp-smbcharger: Change ordering of EXTCON_USB_SPEED"
| -rw-r--r-- | drivers/power/supply/qcom/qpnp-smbcharger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/qcom/qpnp-smbcharger.c b/drivers/power/supply/qcom/qpnp-smbcharger.c index 2ebefb072685..819c002ae0fc 100644 --- a/drivers/power/supply/qcom/qpnp-smbcharger.c +++ b/drivers/power/supply/qcom/qpnp-smbcharger.c @@ -4805,10 +4805,10 @@ static void handle_usb_insertion(struct smbchg_chip *chip) /* Only notify USB if it's not a charger */ if (usb_supply_type == POWER_SUPPLY_TYPE_USB || usb_supply_type == POWER_SUPPLY_TYPE_USB_CDP) { - extcon_set_cable_state_(chip->extcon, EXTCON_USB, - chip->usb_present); extcon_set_cable_state_(chip->extcon, EXTCON_USB_SPEED, chip->usb_present); + extcon_set_cable_state_(chip->extcon, EXTCON_USB, + chip->usb_present); } /* Notify the USB psy if OV condition is not present */ if (!chip->usb_ov_det) { |
