summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common/adf_aer.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2014-06-25 02:19:34 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-26 10:49:43 +0400
commitd65071ecde1ed1b99d057a877e0e3d29748c3a4d (patch)
tree33a73e418a5ab0fc86b3109a2bc4217d7eded32a /drivers/crypto/qat/qat_common/adf_aer.c
parent83530d818f63b737694226fa7af7ae13b6e6c76b (diff)
downloadlinux-d65071ecde1ed1b99d057a877e0e3d29748c3a4d.tar.xz
crypto: qat - Fixed new checkpatch warnings
After updates to checkpatch new warnings pops up this patch fixes them. 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>
Diffstat (limited to 'drivers/crypto/qat/qat_common/adf_aer.c')
-rw-r--r--drivers/crypto/qat/qat_common/adf_aer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_aer.c b/drivers/crypto/qat/qat_common/adf_aer.c
index 0651678e2345..c29d4c3926bf 100644
--- a/drivers/crypto/qat/qat_common/adf_aer.c
+++ b/drivers/crypto/qat/qat_common/adf_aer.c
@@ -95,6 +95,7 @@ static void adf_dev_restore(struct adf_accel_dev *accel_dev)
pending = ppdstat & PCI_EXP_DEVSTA_TRPND;
if (pending) {
int ctr = 0;
+
do {
msleep(100);
pci_read_config_word(pdev, PPDSTAT_OFFSET, &ppdstat);