Skip to content
Commit 355bf650 authored by Wang Ming's avatar Wang Ming Committed by Herbert Xu
Browse files

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: default avatarWang Ming <machel@vivo.com>
Reviewed-by: default avatarRyan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 322d7475
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment