crypto: qat - fix double release_firmware on error path
authorTadeusz Struk <tadeusz.struk@intel.com>
Fri, 3 Apr 2015 15:41:17 +0000 (08:41 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Apr 2015 13:34:22 +0000 (21:34 +0800)
commitb4e97050248d9cbf84a5fd023eb20c253b7ab35b
tree1bedf74072b77a25b54ec43275a7b10f46c279be
parent8b5cf097c3b0940f2be0d20dd16178405ebb63ec
crypto: qat - fix double release_firmware on error path

release_firmware was called twice on error path causing an Oops.

Reported-by: Ahsan Atta <ahsan.atta@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_accel_engine.c
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_init.c