crypto: hisilicon/qm - initialize the device before doing tasks
authorWeili Qian <qianweili@huawei.com>
Sat, 15 May 2021 10:44:37 +0000 (18:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 May 2021 00:52:41 +0000 (08:52 +0800)
commitdbbc5c06955cb9a56aed51170040a3967b79371d
treeb9a7d001fd7dba77d8697eb614bf067625602333
parentc858401cb4a884b840fa3214b8999e8feba3a59b
crypto: hisilicon/qm - initialize the device before doing tasks

The device needs to be initialized first, and then restart the queue to
execute tasks after PF reset.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c