summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-01-07 13:47:25 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-14 15:54:52 +0300
commit9bac67214fbf4b5f23463f7742ccf69bfe684cbd (patch)
tree5ce614c56d1cb7daa3ab3bf24195f8fd7e0e86d7 /include
parente98ce77b57530a1da9ae2dc8c886aaf0a09adbaf (diff)
downloadlinux-9bac67214fbf4b5f23463f7742ccf69bfe684cbd.tar.xz
media: imx7: csi: Fix regression for parallel cameras on i.MX6UL
Commit 86e02d07871c ("media: imx5/6/7: csi: Mark a bound video mux as a CSI mux") made an incorrect assumption that for imx7-media-csi, the bound subdev must always be a CSI mux. On i.MX6UL/i.MX6ULL there is no CSI mux at all, so do not return an error when the entity is not a video mux and assign the IMX_MEDIA_GRP_ID_CSI_MUX group id only when appropriate. This is the same approach as done in imx-media-csi.c and it fixes the csi probe regression on i.MX6UL. Tested on a imx6ull-evk board. Fixes: 86e02d07871c ("media: imx5/6/7: csi: Mark a bound video mux as a CSI mux") Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions