diff options
| author | Hans Verkuil <[email protected]> | 2015-03-05 12:00:11 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-05-01 07:41:46 -0300 |
| commit | 1e4cbe677f596563060709b3af92480f873a0a6e (patch) | |
| tree | fa2326bab1af5e1181c4bc814eee953618277ced /tools/perf/scripts/python/bin | |
| parent | 2e6e609530a1f4306b8fb3e2c4d6abff9d9be30e (diff) | |
[media] marvell-ccic: control handler fixes
No controls were reported, even though the ov7670 does have controls.
Two reasons for this: the v4l2_ctrl_handler_init() call must come
before the ov7670 is loaded (otherwise the ov7670 won't know that
its controls should be added to the bridge driver), and the
v4l2_ctrl_handler_free() call at the end should only be called if
the ret value is non-zero (otherwise you would just free all the
controls that were just added).
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Jonathan Corbet <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions