diff options
author | Peter Chen <[email protected]> | 2020-06-23 11:09:18 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-06-24 16:02:58 +0200 |
commit | d0b78265cac9d8b5f7d5c97fa44860d6ab952dc8 (patch) | |
tree | 82148f3962e9e23b49f9bdef02603ad7bbe172dd /scripts | |
parent | 813072b67ee97659807049d014c9d4e36fd62e94 (diff) |
usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
The other thread may access other endpoints when the cdns3_check_new_setup
is handling, add spinlock to protect it.
Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
Cc: <[email protected]>
Reviewed-by: Pawel Laszczak <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions