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

2021-03-08 Thread Alan Stern
On Mon, Mar 08, 2021 at 10:52:05AM +0800, Chunfeng Yun wrote: > Add a new function to convert bInterval into the time expressed > in 1us unit. > > Signed-off-by: Chunfeng Yun > --- > v2: move kerneldoc next to function's definition suggested by Alan > --- > drivers/usb/common/common.c | 41

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

2021-03-07 Thread Chunfeng Yun
Add a new function to convert bInterval into the time expressed in 1us unit. Signed-off-by: Chunfeng Yun --- v2: move kerneldoc next to function's definition suggested by Alan --- drivers/usb/common/common.c | 41 + drivers/usb/core/devices.c | 21