diff options
| author | Guennadi Liakhovetski <[email protected]> | 2018-05-08 11:07:44 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-27 06:39:57 -0400 |
| commit | 8e7a1dbc7b0ae048bf3f4b9707fe1a845e69aab7 (patch) | |
| tree | 7b37fafe4ae28b1c2b7f04ecb89454aceb75f2fd /tools/perf/scripts/python/sched-migration.py | |
| parent | 222964eaf2472053221341c331eb81e87c8b04f2 (diff) | |
media: uvcvideo: Handle control pipe protocol STALLs
When a command ends up in a STALL on the control pipe, use the Request
Error Code control to provide a more precise error information to the
user. For example, if a camera is still busy processing a control,
when the same or an interrelated control set request arrives, the
camera can react with a STALL and then return the "Not ready" status
in response to a UVC_VC_REQUEST_ERROR_CODE_CONTROL command. With this
patch the user would then get an EBUSY error code instead of a
generic EPIPE.
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions