mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
V4l2 ctrl values are 0 during init time s_ctrl call from v4l2. Since framerate val parameter is 0, when set_framerate_ex is called from set_ctrl_ex during initialization for probing of imx318 sensor, this results in invalid error and probe failure for imx318. Assign framerate 'val' to a value from imx318 sensor device-tree properties within the given range to avoid probe failure due to this. Bug 3692128 Change-Id: Ib5f50e64f99c8443bf604066eda315dc96fbde03 Signed-off-by: Shubham Chandra <shubhamc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089350 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Praveen AC <pac@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>