diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-08-22 11:11:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 09:31:01 +0200 |
commit | 8c0eadb88bc67cee8b83e08f5743bd7c378efdd9 (patch) | |
tree | f9841aec8dcaa188e6956bad2026609c15ee2aa8 /fs/aio.c | |
parent | [media] v4l2-dv-timings: add callback to handle exceptions (diff) | |
download | linux-8c0eadb88bc67cee8b83e08f5743bd7c378efdd9.tar.xz linux-8c0eadb88bc67cee8b83e08f5743bd7c378efdd9.zip |
[media] adv7604: 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 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions