lkml.org 
[lkml]   [2023]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v1 RESEND] usb: dwc3: core: configure TX/RX threshold for DWC3_IP
Date
Hi Thinh,

> > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index
> > f6689b731718..a0a54e5c4ad9 100644
> > --- a/drivers/usb/dwc3/core.c
> > +++ b/drivers/usb/dwc3/core.c
> > @@ -1262,6 +1262,39 @@ static int dwc3_core_init(struct dwc3 *dwc)
> > }
> > }
> >
> > + if (DWC3_IP_IS(DWC3)) {
> > + u8 rx_thr_num = dwc->rx_thr_num_pkt_prd;
> > + u8 rx_maxburst = dwc->rx_max_burst_prd;
> > + u8 tx_thr_num = dwc->tx_thr_num_pkt_prd;
> > + u8 tx_maxburst = dwc->tx_max_burst_prd;
>
> These are meant for periodic settings. You're overloading them for
> non-periodic settings.
>
I will add new property for non-periodic settings.

Thanks,
Stanley
\
 
 \ /
  Last update: 2023-08-08 04:15    [W:0.041 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site