diff options
author | Weili Qian <qianweili@huawei.com> | 2024-08-31 13:48:29 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-09-06 08:50:46 +0200 |
commit | 5d2d1ee0874c26b8010ddf7f57e2f246e848af38 (patch) | |
tree | deb98e88d8e1f186d05d168350c04a19c6545ec4 /drivers/crypto/omap-des.c | |
parent | crypto: hisilicon/trng - modifying the order of header files (diff) | |
download | linux-5d2d1ee0874c26b8010ddf7f57e2f246e848af38.tar.xz linux-5d2d1ee0874c26b8010ddf7f57e2f246e848af38.zip |
crypto: hisilicon/qm - reset device before enabling it
Before the device is enabled again, the device may still
store the previously processed data. If an error occurs in
the previous task, the device may fail to be enabled again.
Therefore, before enabling device, reset the device to restore
the initial state.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-des.c')
0 files changed, 0 insertions, 0 deletions