crypto: qat - use pci_wait_for_pending_transaction()
authorAllan, Bruce W <bruce.w.allan@intel.com>
Fri, 9 Jan 2015 19:55:14 +0000 (11:55 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Jan 2015 11:30:46 +0000 (22:30 +1100)
commita6bcc1e443420f370881ec0b38aea636c1bf71c7
tree9d58699df2f9d5adab25db18e0e1a3c7084df10c
parentfd98d692bb2bdd22f76bf1449df7131cefddccae
crypto: qat - use pci_wait_for_pending_transaction()

Prior to resetting the hardware, use pci_wait_for_pending_transaction()
instead of open coding similar functionality.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Acked-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_aer.c