diff options
author | Wang Ming <machel@vivo.com> | 2023-07-26 15:04:41 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-04 12:09:25 +0300 |
commit | 355bf65080399b0c1aba34368331802ce1998aef (patch) | |
tree | 67c84c8e3dae6083a2a0fdaa24e46aec49d9730c /lib/crypto/mpi/mpi-internal.h | |
parent | 322d74752c28a71fbca3650b98c21c58d25414a8 (diff) | |
download | linux-355bf65080399b0c1aba34368331802ce1998aef.tar.xz |
crypto: atmel - Use dev_err_probe instead of dev_err
It is possible that dma_request_chan will return EPROBE_DEFER,
which means that dd->dev is not ready yet. In this case,
dev_err(dd->dev), there will be no output. This patch fixes the bug.
Signed-off-by: Wang Ming <machel@vivo.com>
Reviewed-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions