diff options
author | Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com> | 2023-12-08 09:34:56 -0700 |
---|---|---|
committer | Jeffrey Hugo <quic_jhugo@quicinc.com> | 2023-12-20 11:13:12 -0700 |
commit | 22ec9a3b73ddf5debf186a8041ad6c00a7b82b9c (patch) | |
tree | 07409abcd86891f5e2cebe51e26bc53c80fb2661 /drivers/hid/hid-betopff.c | |
parent | 0547692ac14650d0574e065094891bed31e37007 (diff) |
accel/qaic: Leverage DRM managed APIs to release resources
Offload the balancing of init and destroy calls to DRM managed APIs.
mutex destroy for ->cntl_mutex is not called during device release and
destroy workqueue is not called in error path of create_qdev(). So, use
DRM managed APIs to manage the release of resources and avoid such
problems.
Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208163457.1295993-7-quic_jhugo@quicinc.com
Diffstat (limited to 'drivers/hid/hid-betopff.c')
0 files changed, 0 insertions, 0 deletions