summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-01-18 23:48:47 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-18 23:48:47 -0800
commit4a40e12622a60b24e10860db1b92e233fdcee806 (patch)
treeb34695cb4c5d8eef979c716604b70b428410e30c
parentdd7b46d3f41f9331f073b4890ac69fbd51b2aef0 (diff)
parent7fa1e1c956358f9440c236686df84b143a8e7896 (diff)
Merge "usb: pd: Increase number of SRC_CAP attempts before starting host"
-rw-r--r--drivers/usb/pd/policy_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/pd/policy_engine.c b/drivers/usb/pd/policy_engine.c
index f8f79fcd4732..d0ee0c9d6430 100644
--- a/drivers/usb/pd/policy_engine.c
+++ b/drivers/usb/pd/policy_engine.c
@@ -1571,7 +1571,7 @@ static void usbpd_sm(struct work_struct *w)
if (ret) {
pd->caps_count++;
- if (pd->caps_count == 5 && pd->current_dr == DR_DFP) {
+ if (pd->caps_count == 10 && pd->current_dr == DR_DFP) {
/* Likely not PD-capable, start host now */
start_usb_host(pd, true);
} else if (pd->caps_count >= PD_CAPS_COUNT) {