diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-01-17 19:19:23 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-18 21:10:18 -0500 |
commit | badfffe3ef3f5901a5ebd819d25310b3b17c31eb (patch) | |
tree | 936353ff6043bdf6e9428979f405e33a96a9b41e /drivers/gpu/nvgpu/gv11b/gv11b.h | |
parent | ea9cb56cf617f7fb4aa79a520f4ff5db2723152d (diff) |
gpu: nvgpu: add cleanup in gk20a_probe()
Add cleanup to the gk20a_probe() function since it will often fail
due to probe deferal. These "failures" cause this function to be
called multiple times and potentially allocate many resources over
and over again, leaking the old allocations.
Bug 200369627
Change-Id: Ic0bba0ae6542485135d9cb7393086e4460cd271d
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1640628
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gv11b.h')
0 files changed, 0 insertions, 0 deletions