diff options
author | 2021-07-27 13:23:35 +0300 | |
---|---|---|
committer | 2021-08-06 19:45:23 +0800 | |
commit | 6a1ec89f2c56da9c2bd0afedb48268dde086d729 (patch) | |
tree | 9c8694f2d939e439d9f8309790730dfd2f2bcc0f /drivers/crypto/qcom-rng.c | |
parent | crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop() (diff) | |
download | linux-dev-6a1ec89f2c56da9c2bd0afedb48268dde086d729.tar.xz linux-dev-6a1ec89f2c56da9c2bd0afedb48268dde086d729.zip |
crypto: omap-sham - initialize req only after omap_sham_hw_init()
Let's only initialize dd->req after omap_sham_hw_init() in case of
errors.
Looks like leaving dd->req initialized on omap_sham_hw_init() errors is
is not causing issues though as we return on errors. So this patch can be
applied as clean-up.
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qcom-rng.c')
0 files changed, 0 insertions, 0 deletions