MLK-20529-1: camera: remove V4L2 limitation when the number of sensors connected...
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Thu, 6 Dec 2018 05:34:55 +0000 (13:34 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commita6bff2172e48ffa586ef4bc5b218050bf1a17d63
tree62540dbb3431e126303761cf2898dc653e8b8b28
parent48d13824d3bdf668798acd8880c75b056324606f
MLK-20529-1: camera: remove V4L2 limitation when the number of sensors connected is less than the required in dtb

1. create links between entities when the number of sensors
connected is less than the required in dtb
2. unregister the video device which sensors are not connected

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit 33234cc31362b5ee23be34ce2a00947e0dc96acb)
drivers/media/platform/imx8/mxc-isi-cap.c