mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The previous implementation doesn't release the resource in a few cases, which can lead to leakage. Improving error handling and resource cleanup when the driver is removed. Bug 5483386 Change-Id: I316879075808ea945ebac997728aa51ff8b69488 Signed-off-by: robelin <robelin@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3474021 Reviewed-by: Johnny Liu <johnliu@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>