crypto: qat - fix invalid pf2vf_resp_wq logic

commit 9e209fcfb8 upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tadeusz Struk 2016-04-25 07:32:19 -07:00 • committed by Greg Kroah-Hartman
commit 6f15194257
3 changed files with 24 additions and 10 deletions