habanalabs: request f/w in separate function
authorOhad Sharabi <osharabi@habana.ai>
Thu, 8 Apr 2021 07:22:17 +0000 (10:22 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:38 +0000 (15:23 +0300)
commit364690429a603ac4a7e8df3c3b98b51c914c7c3f
tree1e28e988170aefa58e448986bb96e143c3638878
parent6e16ab6c326cd149c086ccbab6da9ccff1a528ff
habanalabs: request f/w in separate function

This refactor is needed due to the dynamic FW load in which requesting
the FW file (and getting its attributes) is not immediately followed by
copying FW file content.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/firmware_if.c