i2c: mxs: Use dma_request_chan() instead dma_request_slave_channel()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 17 Dec 2019 07:45:05 +0000 (09:45 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 22 Mar 2020 16:22:07 +0000 (17:22 +0100)
commitf7b87c9af45414225fc6e78af898e403b719181d
treecb1d5867dfe8ac4b4d1ada632b738df4bfc7007d
parent3e566bee7f89de19727293c3ef1803b43c948d15
i2c: mxs: Use dma_request_chan() instead dma_request_slave_channel()

dma_request_slave_channel() is a wrapper on top of dma_request_chan()
eating up the error code.

By using dma_request_chan() directly the driver can support deferred
probing against DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mxs.c