diff options
| author | Tomer Tayar <[email protected]> | 2021-02-19 12:05:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 08:16:09 +0000 |
| commit | 27ac5aada024e0821c86540ad18f37edadd77d5e (patch) | |
| tree | 6747c23e5b06eb5f10165666a64563e32c4ab7bd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drivers: habanalabs: remove unused dentry pointer for debugfs files (diff) | |
| download | kernel-27ac5aada024e0821c86540ad18f37edadd77d5e.tar.gz kernel-27ac5aada024e0821c86540ad18f37edadd77d5e.zip | |
habanalabs: Call put_pid() when releasing control device
The refcount of the "hl_fpriv" structure is not used for the control
device, and thus hl_hpriv_put() is not called when releasing this
device.
This results with no call to put_pid(), so add it explicitly in
hl_device_release_ctrl().
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
