media: imx7-media-csi: get csi upstream endpoint
authorRui Miguel Silva <rui.silva@linaro.org>
Wed, 12 Jun 2019 10:00:28 +0000 (06:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:31:15 +0000 (16:31 -0400)
commite0c76a7d3428824c4f360982efcfa085d8d7fb85
tree180f6c57166cbc6cab80eeed3d0ce2302a762b83
parent13d93380fca826e49c42e8d83fc8a077cabbe6b8
media: imx7-media-csi: get csi upstream endpoint

When the upstream endpoint is neither a mux nor a CSI2 module, just get
the source pad directly upstream from the CSI.

Reported-by: Sebastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c