crypto: qat - when stopping all devices make fure VF are stopped first
authorTadeusz Struk <tadeusz.struk@intel.com>
Tue, 20 Oct 2015 19:50:03 +0000 (12:50 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 17 Nov 2015 13:58:02 +0000 (21:58 +0800)
commitb0c8bc1b9d8027093f8506266ab06c5cf0e5199f
tree373a9fe239aa90b1592798250c93d5797136dcf3
parent79960943fdc114fd4583c9ab164b5c89da7aa601
crypto: qat - when stopping all devices make fure VF are stopped first

When stopping all devices make sure VFs are stopped before the
corresponding PF.
VFs will always be after PF so just need to loop back.

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