crypto: octeontx2 - Initialize cptlfs device info once
authorBharat Bhushan <bbhushan2@marvell.com>
Fri, 16 May 2025 08:44:40 +0000 (14:14 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 May 2025 05:48:20 +0000 (13:48 +0800)
commit57b1e1c0901c9a035cd19b3b08bc8b87edbf69c1
tree78a2a94b5742bf1359716964283ad5a867a7c901
parent270b6f13454cb7f2f7058c50df64df409c5dcf55
crypto: octeontx2 - Initialize cptlfs device info once

Function otx2_cptlf_set_dev_info() initializes common
fields of cptlfs data-struct. This function is called
every time a cptlf is initialized but this needs be done
once for a cptlf block. So this initialization is moved
to early device probe code to avoid redundant initialization.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c