Skip to content
Commit 21a16d1a authored by Helen Fornazier's avatar Helen Fornazier Committed by Greg Kroah-Hartman
Browse files

media: vimc: fix start stream when link is disabled



[ Upstream commit e159b607 ]

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: default avatarHelen Koike <helen.koike@collabora.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fb2f4385
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment