diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2021-05-20 23:22:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 14:52:06 +0300 |
commit | b42e8090ba93526d6063108b25e5fc0f11f58770 (patch) | |
tree | 407007f6ed3fe26688820f9b55acb72841f965b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04145a03db9d78469e0817ab3a767c76c0fb0947 (diff) | |
download | linux-b42e8090ba93526d6063108b25e5fc0f11f58770.tar.xz |
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 <balbi@kernel.org>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20210520202200.GE1216852@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions