summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2021-02-19 14:05:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:35:22 +0200
commitf59604786a48c3bda3a4cda27a172b681c6da69f (patch)
tree51e2a784692443c91a744d2e1dace417c8db467c /include
parent694761bfdd763261dce83a497b37b6c5bc7708df (diff)
habanalabs: Call put_pid() when releasing control device
[ Upstream commit 27ac5aada024e0821c86540ad18f37edadd77d5e ] 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 <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions