crypto: cavium/nitrox - use pcie_flr instead of duplicating it
authorSrikanth Jampala <Jampala.Srikanth@cavium.com>
Sat, 29 Sep 2018 08:19:08 +0000 (13:49 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Oct 2018 02:22:48 +0000 (10:22 +0800)
commit0b501e7a4fdc01b14930345b95c39b93f6472431
treef99c695566ded633cddcee26711741fc42d3487c
parent80e73c8ad6e923a9839ba45f820b1346aafc793a
crypto: cavium/nitrox - use pcie_flr instead of duplicating it

check the flr capability using pcie_has_flr() and do the flr.

Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Reviewed-by: Gadam Sreerama <sgadam@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/nitrox/nitrox_main.c