kernel/drivers/i2c/busses/i2c-mxs.c
.. .. @@ -842,8 +842,8 @@ 842 842 /* Setup the DMA */ 843 843 i2c->dmach = dma_request_chan(dev, "rx-tx"); 844 844 if (IS_ERR(i2c->dmach)) { 845 - dev_err(dev, "Failed to request dma\n");846 - return PTR_ERR(i2c->dmach);845 + return dev_err_probe(dev, PTR_ERR(i2c->dmach),846 + "Failed to request dma\n");847 847 } 848 848 849 849 platform_set_drvdata(pdev, i2c);