media: video-mux: Skip dangling endpoints
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 22 Mar 2021 14:44:08 +0000 (15:44 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 28 Jun 2021 13:17:42 +0000 (15:17 +0200)
commit95778c2d0979618e3349b1d2324ec282a5a6adbf
tree43070232bef07c42d2862871e05392fb148db477
parent50e7a31d30e8221632675abed3be306382324ca2
media: video-mux: Skip dangling endpoints

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>
drivers/media/platform/video-mux.c