summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSasi Kumar <sasi.kumar@broadcom.com>2020-07-22 13:07:42 -0400
committerFelipe Balbi <balbi@kernel.org>2020-07-24 16:45:14 +0300
commita95bdfd22076497288868c028619bc5995f5cc7f (patch)
treebc47bd6e94098848c39ff755273d7d18d93b4ab4 /tools/perf/scripts/python
parent4e3a765ba03c065e5ee71ea309f1933102af7a33 (diff)
bdc: Fix bug causing crash after multiple disconnects
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> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions