Re: [PATCH] usb: gadget: uvc: destroy worker when function is unbound

From: Greg Kroah-Hartman
Date: Sun Jul 20 2025 - 07:41:31 EST


On Fri, Jul 11, 2025 at 05:30:52PM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jul 11, 2025 at 11:29:36PM +0800, oushixiong wrote:
> >
> > 在 2025/7/11 19:04, Greg Kroah-Hartman 写道:
> > > On Fri, Jul 11, 2025 at 04:35:50PM +0800,oushixiong1025@xxxxxxx wrote:
> > > > From: Shixiong Ou<oushixiong@xxxxxxxxxx>
> > > >
> > > > Destroy worker when function is unbound.
> > > This says what you did, but not why.
> > >
> > > Why is this needed? What happens without this change applied?
> >
> > I think the kthread_worker created in uvcg_video_init() is not being
> > properly destroyed during the unbind phase.
>
> Is this actually happening? How was this noticed? How was this tested?

Dropping from my review queue due to lack of response :(