mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
There is case where CSI channels are initialized later before accessing it. In this case, it can cause NULL pointer access. Add checks before accessing it in the function tegra_channel_find_linked_csi_subdev(). Bug 4346767 Change-Id: I752898af4b2164540cbd2e071ee36af4cd5f6fde Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3039709 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>