aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/sm_ftl.c
diff options
context:
space:
mode:
authorOded Gabbay2019-11-17 17:35:49 +0200
committerOded Gabbay2019-11-21 11:35:47 +0200
commit1af69d30c41d0b0f15d8be80c100cefaa909816c (patch)
tree3786e49ff1c66caeabf0aa6f96e214da01f94180 /drivers/mtd/sm_ftl.c
parent52c01b0137193ab0c9282ec8d09c6338446e6e9f (diff)
habanalabs: make the reset code more consistent
In the hl_device_reset we ask about the hard_reset argument when we want to differentiate between soft and hard reset, except for three places where we use "from_hard_reset_thread". Replace one of those locations with the hard_reset argument as it is guaranteed that if we reached to that line in the code during hard_reset, it is from a kernel thread. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
0 files changed, 0 insertions, 0 deletions