aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-05-24 13:09:19 +0200
committerMauro Carvalho Chehab <[email protected]>2021-06-02 14:15:01 +0200
commitb4bb4d425b7b02424afea2dfdcd77b3b4794175e (patch)
tree7200cde5042cb2244c868229e07de23bbb36abde /tools/perf/scripts/python/syscall-counts.py
parent8ed339f23d41e21660a389adf2e7b2966d457ff6 (diff)
media: gspca/sunplus: fix zero-length control requests
The direction of the pipe argument must match the request-type direction bit or control requests may fail depending on the host-controller-driver implementation. Control transfers without a data stage are treated as OUT requests by the USB stack and should be using usb_sndctrlpipe(). Failing to do so will now trigger a warning. Fix the single zero-length control request which was using the read-register helper, and update the helper so that zero-length reads fail with an error message instead. Fixes: 6a7eba24e4f0 ("V4L/DVB (8157): gspca: all subdrivers") Cc: [email protected] # 2.6.27 Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions