diff options
| author | Ming Qian <ming.qian@nxp.com> | 2022-04-22 03:36:21 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 11:02:19 +0200 |
| commit | 37ed01d5f27fe67e0a86b0fe8a053f054a7f3948 (patch) | |
| tree | ffc518808297a2b237196a7f8c362b8b9fc0c398 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | media: amphion: handle picture skipped event (diff) | |
| download | linux-37ed01d5f27fe67e0a86b0fe8a053f054a7f3948.tar.gz linux-37ed01d5f27fe67e0a86b0fe8a053f054a7f3948.zip | |
media: amphion: free ctrl handler if error is set and return error
The typical behavior is to add all controls, then at the end check if
hdl->error was set, and if so, v4l2_ctrl_handler_free is called and
the error is returned.
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
