diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-11-23 14:01:11 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-11-23 14:01:10 -0800 |
| commit | 7ef7dfa0e932c4fcfd662bb3a778f84b71c9c8d3 (patch) | |
| tree | 183e800c0a9660826a7fb719068ffcb864250ca6 /drivers/usb | |
| parent | 2cd7146bb120c296fdec36da665a2939663500ce (diff) | |
| parent | 86747debd95f02764bc8d9c136d6011200a4054b (diff) | |
Merge "USB: gsi: Ring Doorbell to GSI if check for suspend fails"
Diffstat (limited to 'drivers/usb')
| -rw-r--r-- | drivers/usb/gadget/function/f_gsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/f_gsi.c b/drivers/usb/gadget/function/f_gsi.c index 18e3c5cdcc24..67f7e75a9219 100644 --- a/drivers/usb/gadget/function/f_gsi.c +++ b/drivers/usb/gadget/function/f_gsi.c @@ -554,6 +554,9 @@ static int ipa_suspend_work_handler(struct gsi_data_port *d_port) if (!usb_gsi_ep_op(gsi->d_port.in_ep, (void *) &f_suspend, GSI_EP_OP_CHECK_FOR_SUSPEND)) { ret = -EFAULT; + block_db = false; + usb_gsi_ep_op(d_port->in_ep, (void *)&block_db, + GSI_EP_OP_SET_CLR_BLOCK_DBL); goto done; } |
