commit | bad04a55ab1fadfeb83999d338e7fe511d2edfd9 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Thu Apr 12 06:14:26 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Apr 23 13:57:32 2018 -0400 |
tree | cebc63371e4017376e843b681ead5f63bd68e0d4 | |
parent | 31b9cb6ecd0128a165fe2b437ef63a6fa744de7b [diff] |
media: ov7740: Check for possible NULL return value in control creation Check that creating the control actually succeeded before accessing it. A failure would lead to NULL pointer reference. Fix this. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>