Re: [PATCH] usb: bdc: change state when port disconnected

From: Greg KH
Date: Sat Oct 08 2022 - 11:43:35 EST


On Wed, Oct 05, 2022 at 12:13:55PM -0700, justinpopo6@xxxxxxxxx wrote:
> From: Justin Chen <justinpopo6@xxxxxxxxx>
>
> When port is connected and then disconnected, the state stays as
> configured. Which is incorrect as the port is no longer configured,
> but in a not attached state.
>
> Signed-off-by: Justin Chen <justinpopo6@xxxxxxxxx>
> ---
> drivers/usb/gadget/udc/bdc/bdc_udc.c | 1 +
> 1 file changed, 1 insertion(+)

What commit id does this fix? Should it go to older kernels? If so,
how far back?

thanks,

greg k-h