summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/aspeed-video.c
diff options
context:
space:
mode:
authorHelen Fornazier <helen.koike@collabora.com>2018-12-07 18:56:41 +0100
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-07 19:08:41 +0100
commite159b6074c82fe31b79aad672e02fa204dbbc6d8 (patch)
treec43c57e524650c13fbdaea35103308ff8bcdc211 /drivers/media/platform/aspeed-video.c
parentmedia: v4l2-device: Link subdevices to their parent devices if available (diff)
downloadlinux-e159b6074c82fe31b79aad672e02fa204dbbc6d8.tar.xz
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 'drivers/media/platform/aspeed-video.c')
0 files changed, 0 insertions, 0 deletions