Skip to content

Commit 61b37b0

Browse files
Peter Ujfalusigregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a00d9db commit 61b37b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/amba-pl011.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static void pl011_dma_probe(struct uart_amba_port *uap)
414414
dma_cap_mask_t mask;
415415

416416
uap->dma_probed = true;
417-
chan = dma_request_slave_channel_reason(dev, "tx");
417+
chan = dma_request_chan(dev, "tx");
418418
if (IS_ERR(chan)) {
419419
if (PTR_ERR(chan) == -EPROBE_DEFER) {
420420
uap->dma_probed = false;

0 commit comments

Comments
 (0)