summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/saa711x_regs.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-08-22 13:11:17 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 11:31:01 +0400
commit8c0eadb88bc67cee8b83e08f5743bd7c378efdd9 (patch)
treef9841aec8dcaa188e6956bad2026609c15ee2aa8 /drivers/media/i2c/saa711x_regs.h
parentb8f0fff4279a1b85fa4b6d7d8b538c254edcb4a1 (diff)
downloadlinux-8c0eadb88bc67cee8b83e08f5743bd7c378efdd9.tar.xz
[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 'drivers/media/i2c/saa711x_regs.h')
0 files changed, 0 insertions, 0 deletions