[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a39eb7a3-0dbe-194e-80b7-4d773949a276@gmail.com>
Date: Tue, 21 Jul 2020 10:33:36 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Al Cooper <alcooperx@...il.com>, linux-kernel@...r.kernel.org
Cc: Sasi Kumar <sasi.kumar@...adcom.com>, devicetree@...r.kernel.org,
Felipe Balbi <balbi@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH v2 3/7] bdc: Fix bug causing crash after multiple
disconnects
On 7/21/20 7:43 AM, Al Cooper wrote:
> From: Sasi Kumar <sasi.kumar@...adcom.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.
>
> Signed-off-by: Sasi Kumar <sasi.kumar@...adcom.com>
> Signed-off-by: Al Cooper <alcooperx@...il.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists