diff options
author | Simon Shields <simon@lineageos.org> | 2017-11-27 16:12:41 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 23:12:12 +0300 |
commit | 3090a1915e9865d23f2aa76cc01e5b5f9cb6d7e3 (patch) | |
tree | fea120340763d6c187cb1859237554db15859117 /lib/ctype.c | |
parent | 2d41a0c9ae51ac363d107f2510022106e7234b33 (diff) | |
download | linux-3090a1915e9865d23f2aa76cc01e5b5f9cb6d7e3.tar.xz |
media: exynos4-is: Check pipe is valid before calling subdev
If the subdev is not yet present (probably because the subdev
module has not yet been loaded), the pipe will be NULL. Make sure
that this is not the case before attempting to call the op.
Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/ctype.c')
0 files changed, 0 insertions, 0 deletions