diff options
author | Bharat Jauhari <bjauhari@habana.ai> | 2021-09-16 14:00:38 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 09:59:05 +0300 |
commit | 234caa52736b8d413892fb1b2471066dc4b46629 (patch) | |
tree | 23faa246fe7db2f325111c7942f9056b00e9a5c4 /drivers/misc/habanalabs/common/sysfs.c | |
parent | e84e31a9123bda35a1e61f391e7c30e8b3a8ea5b (diff) | |
download | linux-234caa52736b8d413892fb1b2471066dc4b46629.tar.xz |
habanalabs: rename reset flags
Rename reset flags for better readability as compared to
HL_RESET_CAUSE* enum shared with the f/w.
Signed-off-by: Bharat Jauhari <bjauhari@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/sysfs.c')
-rw-r--r-- | drivers/misc/habanalabs/common/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/common/sysfs.c b/drivers/misc/habanalabs/common/sysfs.c index 42c1769ad25d..aee0cc4d6155 100644 --- a/drivers/misc/habanalabs/common/sysfs.c +++ b/drivers/misc/habanalabs/common/sysfs.c @@ -236,7 +236,7 @@ static ssize_t hard_reset_store(struct device *dev, dev_warn(hdev->dev, "Hard-Reset requested through sysfs\n"); - hl_device_reset(hdev, HL_RESET_HARD); + hl_device_reset(hdev, HL_DRV_RESET_HARD); out: return count; |