Re: [PATCH 3/4] usb: gadget: uvc: improve error handling in uvcg_video_init()
From: Xu Yang
Date: Mon Jan 12 2026 - 04:54:22 EST
On Thu, Jan 08, 2026 at 11:08:25AM -0500, Frank Li wrote:
> On Thu, Jan 08, 2026 at 03:43:04PM +0800, Xu Yang wrote:
> > Let uvcg_video_init() return correct code so that error can be handled
> > correctly.
>
> usb: gadget: uvc: Return error from uvcg_queue_init()
>
> uvcg_queue_init() may fail, but its return value is currently ignored.
> Propagate the error code from uvcg_queue_init() to correctly report
> initialization failures.
Ok. Thank you for provide a better commit message.
Thanks,
Xu Yang