mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
1805b2f048
130 changed files with 842 additions and 526 deletions
|
|
@ -181,7 +181,7 @@ static void v4l2_device_release(struct device *cd)
|
|||
* TODO: In the long run all drivers that use v4l2_device should use the
|
||||
* v4l2_device release callback. This check will then be unnecessary.
|
||||
*/
|
||||
if (v4l2_dev->release == NULL)
|
||||
if (v4l2_dev && v4l2_dev->release == NULL)
|
||||
v4l2_dev = NULL;
|
||||
|
||||
/* Release video_device and perform other
|
||||
|
|
|
|||
Loading…
Reference in a new issue