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

Alan Stern stern at rowland.harvard.edu
Mon Mar 8 16:22:58 GMT 2021


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 <chunfeng.yun at mediatek.com>
> ---
> v2: move kerneldoc next to function's definition suggested by Alan
> ---
>  drivers/usb/common/common.c | 41 +++++++++++++++++++++++++++++++++++++
>  drivers/usb/core/devices.c  | 21 ++++---------------
>  drivers/usb/core/endpoint.c | 35 ++++---------------------------
>  include/linux/usb/ch9.h     |  3 +++
>  4 files changed, 52 insertions(+), 48 deletions(-)

Acked-by: Alan Stern <stern at rowland.harvard.edu>



More information about the linux-arm-kernel mailing list