commit | 8c0eadb88bc67cee8b83e08f5743bd7c378efdd9 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Thu Aug 22 06:11:17 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sat Aug 24 04:31:01 2013 -0300 |
tree | f9841aec8dcaa188e6956bad2026609c15ee2aa8 | |
parent | b8f0fff4279a1b85fa4b6d7d8b538c254edcb4a1 [diff] |
[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>