Re: [PATCH v2] drm: gm12u320: Fix the timeout usage for usb_bulk_msg()

2023-09-04 Thread Thomas Zimmermann
Hi Am 04.09.23 um 09:26 schrieb Hans de Goede: Hi, On 9/4/23 04:14, Jinjie Ruan wrote: The timeout arg of usb_bulk_msg() is ms already, which has been converted to jiffies by msecs_to_jiffies() in usb_start_wait_urb(). So fix the usage by removing the redundant msecs_to_jiffies() in the macros

Re: [PATCH v2] drm: gm12u320: Fix the timeout usage for usb_bulk_msg()

2023-09-04 Thread Hans de Goede
Hi, On 9/4/23 04:14, Jinjie Ruan wrote: > The timeout arg of usb_bulk_msg() is ms already, which has been converted > to jiffies by msecs_to_jiffies() in usb_start_wait_urb(). So fix the usage > by removing the redundant msecs_to_jiffies() in the macros. > > And as Hans suggested, also remove mse