media: video-mux: Skip dangling endpoints
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 22 Mar 2021 14:44:08 +0000 (15:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:11 +0000 (16:56 +0200)
commita61f8a2e45bec63fd3fb875ed18fed5cab456044
treec4fbb5871ccdc02d3e95fc27f5439644780dbe8d
parent62c666805af470690464b56fff00a424a2ded23e
media: video-mux: Skip dangling endpoints

[ Upstream commit 95778c2d0979618e3349b1d2324ec282a5a6adbf ]

i.MX6 device tree include files contain dangling endpoints for the
board device tree writers' convenience. These are still included in
many existing device trees.
Treat dangling endpoints as non-existent to support them.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 612b385efb1e ("media: video-mux: Create media links in bound notifier")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/video-mux.c