diff options
| -rw-r--r-- | drivers/misc/habanalabs/device.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/misc/habanalabs/device.c b/drivers/misc/habanalabs/device.c index 2f5a4da707e7..80205d8584ce 100644 --- a/drivers/misc/habanalabs/device.c +++ b/drivers/misc/habanalabs/device.c @@ -891,7 +891,7 @@ again:  	 * can't really exit until all its CSs are done, which is what we  	 * do in cs rollback  	 */ -	if (from_hard_reset_thread) +	if (hard_reset)  		device_kill_open_processes(hdev);  	/* Release kernel context */ | 
