Re: [PATCH 16/17] usb: common: add function to get interval expressed in us unit

2021-03-07 Thread Chunfeng Yun
On Fri, 2021-03-05 at 16:47 +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 05, 2021 at 10:33:12AM -0500, Alan Stern wrote: > > On Fri, Mar 05, 2021 at 05:02:54PM +0800, Chunfeng Yun wrote: > > > Add a new function to convert bInterval into the time expressed > > > in 1us unit. > > > > > >

Re: [PATCH 16/17] usb: common: add function to get interval expressed in us unit

2021-03-07 Thread Chunfeng Yun
On Fri, 2021-03-05 at 10:33 -0500, Alan Stern wrote: > On Fri, Mar 05, 2021 at 05:02:54PM +0800, Chunfeng Yun wrote: > > Add a new function to convert bInterval into the time expressed > > in 1us unit. > > > > Signed-off-by: Chunfeng Yun > > --- > > > --- a/drivers/usb/common/common.c > > +++

Re: [PATCH 16/17] usb: common: add function to get interval expressed in us unit

2021-03-05 Thread Greg Kroah-Hartman
On Fri, Mar 05, 2021 at 10:33:12AM -0500, Alan Stern wrote: > On Fri, Mar 05, 2021 at 05:02:54PM +0800, Chunfeng Yun wrote: > > Add a new function to convert bInterval into the time expressed > > in 1us unit. > > > > Signed-off-by: Chunfeng Yun > > --- > > > --- a/drivers/usb/common/common.c >

Re: [PATCH 16/17] usb: common: add function to get interval expressed in us unit

2021-03-05 Thread Alan Stern
On Fri, Mar 05, 2021 at 05:02:54PM +0800, Chunfeng Yun wrote: > Add a new function to convert bInterval into the time expressed > in 1us unit. > > Signed-off-by: Chunfeng Yun > --- > --- a/drivers/usb/common/common.c > +++ b/drivers/usb/common/common.c > @@ -165,6 +165,39 @@ enum usb_dr_mode

[PATCH 16/17] usb: common: add function to get interval expressed in us unit

2021-03-05 Thread Chunfeng Yun
Add a new function to convert bInterval into the time expressed in 1us unit. Signed-off-by: Chunfeng Yun --- drivers/usb/common/common.c | 33 + drivers/usb/core/devices.c | 21 - drivers/usb/core/endpoint.c | 35