media: imx: csi: Allow unknown nearest upstream entities
authorSteve Longerbeam <slongerbeam@gmail.com>
Wed, 20 Feb 2019 23:53:29 +0000 (18:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2019 16:23:27 +0000 (18:23 +0200)
commitef12f5b54da440e08407e08667ba5cb4fc37ea65
tree3891a992ffae90159914d62e3d7afb4e118b3fde
parent77e1787081366884e8ebd7847c7631ec66b44b47
media: imx: csi: Allow unknown nearest upstream entities

commit 904371f90b2c0c749a5ab75478c129a4682ac3d8 upstream.

On i.MX6, the nearest upstream entity to the CSI can only be the
CSI video muxes or the Synopsys DW MIPI CSI-2 receiver.

However the i.MX53 has no CSI video muxes or a MIPI CSI-2 receiver.
So allow for the nearest upstream entity to the CSI to be something
other than those.

Fixes: bf3cfaa712e5c ("media: staging/imx: get CSI bus type from nearest
upstream entity")

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/imx/imx-media-csi.c