crypto: qat - fix invalid pf2vf_resp_wq logic
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 25 Apr 2016 14:32:19 +0000 (07:32 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Apr 2016 00:58:07 +0000 (08:58 +0800)
commit9e209fcfb804da262e38e5cd2e680c47a41f0f95
treea8b055a5db341765fec834ccff0f276a00a890be
parent340ff60ae93a5db2b2be6f38868df9a1293b6007
crypto: qat - fix invalid pf2vf_resp_wq logic

The pf2vf_resp_wq is a global so it has to be created at init
and destroyed at exit, instead of per device.

Cc: <stable@vger.kernel.org>
Tested-by: Suresh Marikkannu <sureshx.marikkannu@intel.com>
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_common_drv.h
drivers/crypto/qat/qat_common/adf_ctl_drv.c
drivers/crypto/qat/qat_common/adf_sriov.c