diff options
| author | Andrey Konovalov <[email protected]> | 2020-04-07 14:47:54 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-04-17 09:23:19 +0000 |
| commit | 0666aa539e18a4e35770a19d5576e06cd6a8c76e (patch) | |
| tree | 63ba35fa3ea68451bc452c5e85b3454026931033 /tools/perf/scripts/python | |
| parent | usb: gadget: udc: atmel: Fix vbus disconnect handling (diff) | |
| download | kernel-0666aa539e18a4e35770a19d5576e06cd6a8c76e.tar.gz kernel-0666aa539e18a4e35770a19d5576e06cd6a8c76e.zip | |
usb: raw-gadget: fix raw_event_queue_fetch locking
If queue->size check in raw_event_queue_fetch() fails (which normally
shouldn't happen, that check is a fail-safe), the function returns
without reenabling interrupts. This patch fixes that issue, along with
propagating the cause of failure to the function caller.
Fixes: f2c2e717642c ("usb: gadget: add raw-gadget interface"
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
