aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2016-08-11 10:39:03 +0800
committerLee Jones <[email protected]>2016-10-04 15:48:02 +0100
commit8dcc5ff8fcaf778bb57ab4448fedca9e381d088f (patch)
tree6ba2a410b7d73054b39c6f832c7e2d91f7afaebb /tools/perf/scripts/python/check-perf-trace.py
parent09185a5999c733ec37220ad4a0baa7598a2044d2 (diff)
mfd: rtsx_usb: Avoid setting ucr->current_sg.status
Member "status" of struct usb_sg_request is managed by usb core. A spin lock is used to serialize the change of it. The driver could check the value of req->status, but should avoid changing it without the hold of the spinlock. Otherwise, it could cause race or error in usb core. This patch could be backported to stable kernels with version later than v3.14. Cc: [email protected] # 3.14+ Cc: Alan Stern <[email protected]> Cc: Roger Tseng <[email protected]> Signed-off-by: Lu Baolu <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions