diff options
author | Alan Stern <[email protected]> | 2021-05-20 16:22:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-04 13:52:06 +0200 |
commit | b42e8090ba93526d6063108b25e5fc0f11f58770 (patch) | |
tree | 407007f6ed3fe26688820f9b55acb72841f965b2 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 04145a03db9d78469e0817ab3a767c76c0fb0947 (diff) |
USB: UDC: Implement udc_async_callbacks in net2280
This patch adds a udc_async_callbacks handler to the net2280 UDC
driver, which will prevent a theoretical race during gadget unbinding.
The net2280 driver is sufficiently complicated that I didn't want to
mess around with IRQ settings. Instead, the patch simply adds a new
flag to control async callbacks, and checks the flag before issuing
any of them.
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions