-
Ankur Pawar authored
Kernel freeze is occurring due to incorrect cleanup in vi5.c. Fix for kernel freeze: 1 Don't call vi_channel_drv_unregister() and tegra_vi_media_controller_cleanup() in vi5_remove. 2 capture_vi_probe() is calling vi_channel_drv_register() and tegra_capture_vi_media_controller_init(), so capture_vi_remove() should call vi_channel_drv_unregister() and tegra_vi_media_controller_cleanup() 3 Use correct dev pointer in vi_channel_drv_unregister(). Code cleanup: 1 Remove use_legacy_path variable that was used for T186. 2 Removed unused t194_vi5_file_private struct. Bug 4415340 Change-Id: I6153f65d62a9f7f4fc5d04c2ace948a29396e404 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3077660 Reviewed-by:
Shubham Chandra <shubhamc@nvidia.com> Reviewed-by:
Ankur Pawar <ankurp@nvidia.com> Reviewed-by:
Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by:
Ankur Pawar <ankurp@nvidia.com>
Ankur Pawar authoredKernel freeze is occurring due to incorrect cleanup in vi5.c. Fix for kernel freeze: 1 Don't call vi_channel_drv_unregister() and tegra_vi_media_controller_cleanup() in vi5_remove. 2 capture_vi_probe() is calling vi_channel_drv_register() and tegra_capture_vi_media_controller_init(), so capture_vi_remove() should call vi_channel_drv_unregister() and tegra_vi_media_controller_cleanup() 3 Use correct dev pointer in vi_channel_drv_unregister(). Code cleanup: 1 Remove use_legacy_path variable that was used for T186. 2 Removed unused t194_vi5_file_private struct. Bug 4415340 Change-Id: I6153f65d62a9f7f4fc5d04c2ace948a29396e404 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3077660 Reviewed-by:
Shubham Chandra <shubhamc@nvidia.com> Reviewed-by:
Ankur Pawar <ankurp@nvidia.com> Reviewed-by:
Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by:
Ankur Pawar <ankurp@nvidia.com>
Loading