]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: tiny refactor of hl_device_reset for readability
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Wed, 8 Feb 2023 13:11:58 +0000 (15:11 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:13 +0000 (13:29 +0200)
commit7810c5244d3f92faf635177234647614506574e1
tree96a112119cff1bd2b37f8ae28e284339f134e83a
parent34bef313e43cf0eb86296c189dc3df171b1851a9
accel/habanalabs: tiny refactor of hl_device_reset for readability

Align assignment of reset_upon_device_release to the convention used
in this function.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/common/device.c