habanalabs: read F/W versions before failure
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 20 Oct 2019 08:07:11 +0000 (11:07 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 21 Nov 2019 09:35:45 +0000 (11:35 +0200)
commitf05912d8f16bf303e293d4add2caecb8a9231c41
treeefe6cb94c69808c143f4102d4a40b15a79c1d83c
parent91edbf2cf8f0416b854674e891d7a5274f4b1702
habanalabs: read F/W versions before failure

Move the read of the F/W boot versions before exiting on possible failures
of the F/W boot. This will help debug boot failures as we will be able to
know the F/W boot version.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
drivers/misc/habanalabs/goya/goya.c