diff options
author | Helen Fornazier <helen.koike@collabora.com> | 2018-12-07 12:56:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-07 13:08:41 -0500 |
commit | e159b6074c82fe31b79aad672e02fa204dbbc6d8 (patch) | |
tree | c43c57e524650c13fbdaea35103308ff8bcdc211 /include/media | |
parent | ee494cf377e142f65f202fadf0d859f8e12119fb (diff) | |
download | blackbird-obmc-linux-e159b6074c82fe31b79aad672e02fa204dbbc6d8.tar.gz blackbird-obmc-linux-e159b6074c82fe31b79aad672e02fa204dbbc6d8.zip |
media: vimc: fix start stream when link is disabled
If link is disabled, media_entity_remote_pad returns NULL, causing a
NULL pointer deference.
Ignore links that are not enabled instead.
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions