commit | 3099fc9c2b3aaace80947d07d13b40da2dd79fd4 | [log] [tgz] |
---|---|---|
author | Weili Qian <qianweili@huawei.com> | Thu Jun 09 20:31:18 2022 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jun 17 17:19:20 2022 +0800 |
tree | a7308b2b4e9634a8f1d4568cabc7ce06978c95a7 | |
parent | bf081d6fa8e90aefe991e34a29eff7aa22deb3ff [diff] |
crypto: hisilicon/qm - move alloc qm->wq to qm.c Before stopping the function, the driver needs to flush all the remaining work about event irq. Therefore, accelerator drivers use a private workqueue(qm->wq) to handle event irq instead of the system workqueue. This patch moves alloc workqueue from sec_main.c and zip_main.c to qm.c. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>