]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel-tdes - Handle error messages
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 20 Jul 2021 08:55:28 +0000 (11:55 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Jul 2021 02:58:32 +0000 (10:58 +0800)
commit9c85de097d451b255577af396323383112c9b910
treeaa4f75879eaf7ee3cc3dbfad0ba00feb2da2e58f
parent3ddea712104ec7f2e317fae9bf614eb041761185
crypto: atmel-tdes - Handle error messages

Downgrade all runtime error messages to dev_dbg so that we don't
pollute the console. All probe error messages are kept with dev_err.
Get rid of pr_err and use dev_dbg instead, so that we know from which
device the error comes.
dma_mapping_error() return code was overwritten, use the error code
that the function returns.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-tdes.c