diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-08-22 13:15:31 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 11:31:12 +0400 |
commit | 265d3b55ffdb5e9cf74fd85e2a841b04a82f3355 (patch) | |
tree | cb976586046a691439cc7b30e1cbbf9eb6e377fd /drivers/media/parport/w9966.c | |
parent | 8c0eadb88bc67cee8b83e08f5743bd7c378efdd9 (diff) | |
download | linux-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/parport/w9966.c')
0 files changed, 0 insertions, 0 deletions