mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
The IMX390 driver was recently updated and this broke building the driver for Linux v6.1+ kernels. Revert the specific changes that broke the build and update the max929x driver so that it can also be built for Linux v6.1+ kernels. Finally, replace 'gpio_cansleep' with 'gpiod_cansleep' because 'gpio_cansleep' was removed in Linux v6.5. This also aligns with the other camera drivers that use 'gpiod_cansleep' instead of gpio_cansleep'. Bug 4505240 Change-Id: I46960bca1e1e4aeff9bd9fdaed8b2db2be104b5b Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149880 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>