mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "usb: f_gsi: Reset RMNET IN endpoint related num_buf and buf_len"
This commit is contained in:
commit
7cdfcf81ac
1 changed files with 5 additions and 1 deletions
|
|
@ -501,8 +501,12 @@ static int ipa_connect_channels(struct gsi_data_port *d_port)
|
|||
struct ipa_req_chan_out_params ipa_in_channel_out_params;
|
||||
struct ipa_req_chan_out_params ipa_out_channel_out_params;
|
||||
|
||||
if (gsi->prot_id == IPA_USB_RMNET)
|
||||
if (gsi->prot_id == IPA_USB_RMNET) {
|
||||
d_port->in_request.use_tcm_mem = gsi->rmnet_use_tcm_mem;
|
||||
/* override needed for moving from LLCC TCM to DDR memory */
|
||||
d_port->in_request.buf_len = GSI_IN_RMNET_BUFF_SIZE;
|
||||
d_port->in_request.num_bufs = GSI_NUM_IN_RMNET_BUFFERS;
|
||||
}
|
||||
|
||||
ret = usb_gsi_ep_op(d_port->in_ep, &d_port->in_request,
|
||||
GSI_EP_OP_PREPARE_TRBS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue