]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: imx: notify about real errors on dma i2c_imx_dma_request
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 9 Jan 2019 05:56:49 +0000 (06:56 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 15 Jan 2019 21:53:46 +0000 (22:53 +0100)
commit5b3a23a3cc94864aacc012532b36afa92a25b9c0
treefda0f61185897959e4717d9887f7d3d8abd242be
parent18569fa89a4db9ed6b5181624788a1574a9b6ed7
i2c: imx: notify about real errors on dma i2c_imx_dma_request

At least on i.MX5x, the DMA events for I2C and SDHC use the same channel
and there can only be a single user. So in this case there should be no
message emitted that looks like an error if the I2C device doesn't have
an assigned DMA channel. In contrast real problems that were only
emitted at debug level before should be described at a higher level
to be better visible and so understandable.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c