Commit 5b661539 authored by Fabio Estevam's avatar Fabio Estevam Committed by Wolfram Sang

i2c: imx: Improve message log when DMA is not used

When DMA cannot be used, it is better to state that the I2C controller
will operate in PIO mode.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 588eb93e
...@@ -349,7 +349,7 @@ static void i2c_imx_dma_request(struct imx_i2c_struct *i2c_imx, ...@@ -349,7 +349,7 @@ static void i2c_imx_dma_request(struct imx_i2c_struct *i2c_imx,
dma_release_channel(dma->chan_tx); dma_release_channel(dma->chan_tx);
fail_al: fail_al:
devm_kfree(dev, dma); devm_kfree(dev, dma);
dev_info(dev, "can't use DMA\n"); dev_info(dev, "can't use DMA, using PIO instead.\n");
} }
static void i2c_imx_dma_callback(void *arg) static void i2c_imx_dma_callback(void *arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment