crypto: hisilicon - Fix duplicate print when qm occur multiple errors
authorShukun Tan <tanshukun1@huawei.com>
Mon, 20 Jan 2020 07:30:09 +0000 (15:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Feb 2020 08:58:08 +0000 (16:58 +0800)
commit00e62e868ccd230e92c6f08ef2877ede10292882
tree617ce6ad3a599677301d162a354b980c8fd55b2e
parentf826e6efb42b9eb0097d0969310a407aa039be08
crypto: hisilicon - Fix duplicate print when qm occur multiple errors

If all possible errors occurs at the same time, the error_status will be
all 1s. The doorbell timeout error and FIFO overflow error will be print
in each cycle, which should be print just once.

Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c