crypto: hisilicon/qm - fix print frequence in hisi_qp_send
authorYang Shen <shenyang39@huawei.com>
Sat, 15 Aug 2020 09:56:10 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:47:51 +0000 (14:47 +1000)
commit7e655e196c2c2aa5df439d7489b5aeb70b9b25ca
tree0466b6d532378890037b45c56be30a7e210ae5c4
parent3c829d6d19ae2d7084f578e7fa99b1366f5a4602
crypto: hisilicon/qm - fix print frequence in hisi_qp_send

Requests will be sent continuously as resetting, which will cause 'printk'
flooding. Using 'dev_info_ratelimited' can solve this problem well.

Fixes: b67202e8ed30("crypto: hisilicon/qm - add state machine for QM")
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c