mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "usb: gadget: gsi: Ensure the doorbell is blocked before suspend"
This commit is contained in:
commit
c75f5af3c3
1 changed files with 7 additions and 0 deletions
|
|
@ -785,6 +785,13 @@ static int ipa_suspend_work_handler(struct gsi_data_port *d_port)
|
|||
goto done;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ensure that the DBL is blocked before suspend.
|
||||
*/
|
||||
block_db = true;
|
||||
usb_gsi_ep_op(gsi->d_port.in_ep, (void *)&block_db,
|
||||
GSI_EP_OP_SET_CLR_BLOCK_DBL);
|
||||
|
||||
log_event_dbg("%s: Calling xdci_suspend", __func__);
|
||||
ret = ipa_usb_xdci_suspend(gsi->d_port.out_channel_handle,
|
||||
gsi->d_port.in_channel_handle, gsi->prot_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue