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)
commitc647dbab1b7e203d66c634989c6ad6ffe6734034
tree280fb33772220db9df80fd24081958ca8272bef8
parent0d2d1e23f93fc07cd2dd6c419f95f4685ada263b
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-media-dev.c