OSDN Git Service

habanalabs: check to load F/W before boot status
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 8 May 2019 09:22:41 +0000 (12:22 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 8 May 2019 09:22:41 +0000 (12:22 +0300)
commit0c169b8afd1def63d95702cad45a0908c643a8c8
tree9af6fb60f7caec749361b2360c63a48cf449a570
parent8c173dc41d38dcd286f92d75a56f8e927612150e
habanalabs: check to load F/W before boot status

This patch changes the order of checks when initializing the device CPU.
We want first to check if we need to load the F/W, and only if we need to,
then we want to check the status of the CPU boot program.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c