aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2019-07-29 23:14:55 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-16 16:33:58 -0300
commit8c279e9394cade640ed86ec6c6645a0e7df5e0b6 (patch)
treef2aa9f45b2bcf513a8e5ca7ecd27a1fd9ff84afa /tools/perf/scripts/python
parentd9aeaa6d4ca44df5fae745fd47aede8b3f6137f1 (diff)
media: uvcvideo: Fix error path in control parsing failure
When parsing the UVC control descriptors fails, the error path tries to cleanup a media device that hasn't been initialised, potentially resulting in a crash. Fix this by initialising the media device before the error handling path can be reached. Fixes: 5a254d751e52 ("[media] uvcvideo: Register a v4l2_device") Reported-by: [email protected] Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions