summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-08-22 09:15:31 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 07:31:12 (GMT)
commit265d3b55ffdb5e9cf74fd85e2a841b04a82f3355 (patch)
treecb976586046a691439cc7b30e1cbbf9eb6e377fd /drivers/media/usb
parent8c0eadb88bc67cee8b83e08f5743bd7c378efdd9 (diff)
downloadlinux-fsl-qoriq-265d3b55ffdb5e9cf74fd85e2a841b04a82f3355.tar.xz
[media] ad9389b: set is_private only after successfully creating all controls
is_private was set right after creating each control, but the control pointer might be NULL in case of an error. Set it after all controls were successfully created, since that guarantees that all control pointers are non-NULL. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions