Merge "USB: gsi: Ring Doorbell to GSI if check for suspend fails"

This commit is contained in:
Linux Build Service Account 2017-11-23 14:01:11 -08:00 committed by Gerrit - the friendly Code Review server
commit 7ef7dfa0e9

View file

@ -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, if (!usb_gsi_ep_op(gsi->d_port.in_ep, (void *) &f_suspend,
GSI_EP_OP_CHECK_FOR_SUSPEND)) { GSI_EP_OP_CHECK_FOR_SUSPEND)) {
ret = -EFAULT; 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; goto done;
} }