From: Peter Ujfalusi Date: Wed, 13 Nov 2019 09:46:16 +0000 (+0200) Subject: tty: serial: amba-pl011: Use dma_request_chan() directly for channel request X-Git-Tag: v5.5-rc1~54^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61b37b049e203aa7daa9054a0b8d7da464ebba22;p=thirdparty%2Fkernel%2Flinux.git tty: serial: amba-pl011: Use dma_request_chan() directly for channel request dma_request_slave_channel_reason() is: #define dma_request_slave_channel_reason(dev, name) \ dma_request_chan(dev, name) Signed-off-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20191113094618.1725-2-peter.ujfalusi@ti.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index ae63266e181f6..38e2d25f7e231 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -414,7 +414,7 @@ static void pl011_dma_probe(struct uart_amba_port *uap) dma_cap_mask_t mask; uap->dma_probed = true; - chan = dma_request_slave_channel_reason(dev, "tx"); + chan = dma_request_chan(dev, "tx"); if (IS_ERR(chan)) { if (PTR_ERR(chan) == -EPROBE_DEFER) { uap->dma_probed = false;