Re: [PATCH 3/7] bdc: Fix bug causing crash after multiple disconnects

Florian Fainelli
2020-07-17T16:56:44Z

On 7/17/2020 8:23 AM, Al Cooper wrote:
> From: Sasi Kumar <sasi.kumar@broadcom.com>
>
> Multiple connects/disconnects can cause a crash on the second
> disconnect. The driver had a problem where it would try to send
> endpoint commands after it was disconnected which is not allowed
> by the hardware. The fix is to only allow the endpoint commands
> when the endpoint is connected. This will also fix issues that
> showed up when using configfs to create gadgets.
>
> refs #SWLINUX-5477

This internal reference should be removed and maybe we should be
providing a Fixes tag as well since this is a bug fix?
--
Florian