]> git.infradead.org Git - users/hch/misc.git/commit
accel/habanalabs: fix use of var reset_sleep_ms
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Wed, 8 Mar 2023 11:22:17 +0000 (13:22 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:30 +0000 (17:35 +0200)
commitf8d139a71b430938f0cc9c0ed026830ca7706446
treee83fb3c4436ba7ece678e7ff952cd4f546bccba0
parent077a39fabefaef12c802b7b32facb831dd33ea92
accel/habanalabs: fix use of var reset_sleep_ms

- remove reset_sleep_ms arg from functions that don't use it.
- move the call msleep(reset_sleep_ms) from btm poll to gaudi2_hw_fini
as it is called from there already for other flow.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c