diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-25 15:51:26 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-25 15:51:26 -0700 |
| commit | 8a0aed96a2b0856168af9616d9bb1f73bb1e013c (patch) | |
| tree | e0cb3eb365ac532ff4f41282c79aa2a4248589e9 | |
| parent | 60be71604a84d2e047215cb702d6324379a353bb (diff) | |
| parent | d4d30d382784ba8339950c12fef1ecd3a5b2bee4 (diff) | |
Merge "usb: policy_engine: Close pd phy after exceeding SINK hard reset count"
| -rw-r--r-- | drivers/usb/pd/policy_engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/pd/policy_engine.c b/drivers/usb/pd/policy_engine.c index 055c6203577a..4190417b073c 100644 --- a/drivers/usb/pd/policy_engine.c +++ b/drivers/usb/pd/policy_engine.c @@ -1927,6 +1927,9 @@ static void usbpd_sm(struct work_struct *w) val.intval = 0; power_supply_set_property(pd->usb_psy, POWER_SUPPLY_PROP_PD_ACTIVE, &val); + + pd_phy_close(); + pd->pd_phy_opened = false; } break; |
