i2c: at91: change log when dma configuration fails
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 20 May 2016 12:06:31 +0000 (14:06 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 26 May 2016 18:54:19 +0000 (20:54 +0200)
commit67fed0da5ac23ab6187c362b7ade08339872f718
treec20eb145904ccd5a8d1966b1ce7e63321fe22ec8
parent868b2072f09c8a698df8066ca72d30411dcc57d6
i2c: at91: change log when dma configuration fails

When the DMA configuration fails, there is a log reporting that we can't
use DMA and indicating the error number. When booting the kernel, it is
annoying to see this error number. Moreover, people can think something
is going wrong. It is not the case, it means that DMA can't be used but
it doesn't prevent to use i2c.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-at91.c