summaryrefslogtreecommitdiff
path: root/drivers/mfd/smsc-ece1099.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-05 12:00:11 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-01 07:41:46 -0300
commit1e4cbe677f596563060709b3af92480f873a0a6e (patch)
treefa2326bab1af5e1181c4bc814eee953618277ced /drivers/mfd/smsc-ece1099.c
parent2e6e609530a1f4306b8fb3e2c4d6abff9d9be30e (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 <hans.verkuil@cisco.com> Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/mfd/smsc-ece1099.c')
0 files changed, 0 insertions, 0 deletions