diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2021-05-20 23:22:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 14:52:09 +0300 |
commit | 87191ca9f90244d4e003fbe5c77390b5e585a5ef (patch) | |
tree | 0bc3c7d850610a57294f8c3512de9345eee3625a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b42e8090ba93526d6063108b25e5fc0f11f58770 (diff) | |
download | linux-87191ca9f90244d4e003fbe5c77390b5e585a5ef.tar.xz |
USB: UDC: Implement udc_async_callbacks in net2272
This patch adds a udc_async_callbacks handler to the net2272 UDC
driver, which will prevent a theoretical race during gadget unbinding.
The net2272 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/20210520202206.GF1216852@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