diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-08-08 16:48:55 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-09-05 14:55:27 +0300 |
commit | 867b58ac9445570556150ec0cefc752313159f51 (patch) | |
tree | ca24aaf9916abdfbfef0cd20ec8e1f4bef96a286 /drivers/misc | |
parent | fe9a52c97f10e7c55a8c7486f989205990334188 (diff) | |
download | linux-867b58ac9445570556150ec0cefc752313159f51.tar.xz |
habanalabs: print to kernel log when reset is finished
Now that we don't print the queue testing messages, we need to print when
the reset is finished so whoever looks at the kernel log will know the
reset process was finished successfully and the driver is not stuck.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/habanalabs/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/device.c b/drivers/misc/habanalabs/device.c index e2e219941681..41c3ddbca351 100644 --- a/drivers/misc/habanalabs/device.c +++ b/drivers/misc/habanalabs/device.c @@ -907,6 +907,8 @@ again: else hdev->soft_reset_cnt++; + dev_warn(hdev->dev, "Successfully finished resetting the device\n"); + return 0; out_err: |