mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
462a2ca50fadb1907ee0d7c32caafe525e49a41f
ISP channels are not released cleanly if the IVC send for CAPTURE_CHANNEL_ISP_RELEASE_REQ were to fail, leaving the rest of the release steps undone, including unregistering the capture and control callbacks. This will prevent any new channel setups, e.g., after an app restart, because the channel is deemed busy. Another problem with ISP channel release is that were the aforementioned IVC sends to fail, the driver will not attempt an RCE reboot to recover the IVC communications. Similarly, if the channel reset IVC request fails or returns an error, the pending capture and program buffers won't be unpinned and their related waits won't be completed. This fix always performs the cleanups regardless of the fate of the control channel requests. Bug 4623451 Bug 4765177 Change-Id: I41ada4bc7dcc72676170d3d30515b5e741120252 Signed-off-by: Aki Niemi <aniemi@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3192586 (cherry picked from commit feb2be84d1077bec942825bf3cbffc58729f0560) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3219711 Reviewed-by: Ganesh Ram Savithri Sreenivas Murthy <ganeshrams@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Vincent Chung <vincentc@nvidia.com> Reviewed-by: Mohit Ingale <mohiti@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Tested-by: Mohit Ingale <mohiti@nvidia.com>
Description
No description provided