lkml.org 
[lkml]   [2020]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 3/7] bdc: Fix bug causing crash after multiple disconnects
    From
    Date
    On 7/21/20 7:43 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.
    >
    > Signed-off-by: Sasi Kumar <sasi.kumar@broadcom.com>
    > Signed-off-by: Al Cooper <alcooperx@gmail.com>

    Acked-by: Florian Fainelli <f.fainelli@gmail.com>
    --
    Florian

    \
     
     \ /
      Last update: 2020-07-21 19:34    [W:2.770 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site