crypto: qat - explicitly stop all VFs first
authorTadeusz Struk <tadeusz.struk@intel.com>
Tue, 29 Mar 2016 17:20:52 +0000 (10:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Apr 2016 12:35:53 +0000 (20:35 +0800)
commitcb00bca42f8b819498b2647f24b6148d65ec9aa4
tree468089b98bb5f57865f3ec3a139cfb2ead49a089
parent4218ebe8cab421c72f134cca1374e0985303f34a
crypto: qat - explicitly stop all VFs first

When stopping devices it is not enought to loop backwards.
We need to explicitly stop all VFs first.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_ctl_drv.c