diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-22 15:15:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-24 15:15:56 +0200 |
commit | 9b7becf103e2689d7f005895130ccf89a153fef1 (patch) | |
tree | e5818c172d68c7d2c78f1f4d08d6c2e0d4ad25b5 | |
parent | 5fa4accf5efad012731bf36222815d7df8c17ba6 (diff) | |
download | op-kernel-dev-9b7becf103e2689d7f005895130ccf89a153fef1.zip op-kernel-dev-9b7becf103e2689d7f005895130ccf89a153fef1.tar.gz |
serial: sh-sci: Update warning message in sci_request_dma_chan()
The commit below changed a function call from
dma_request_slave_channel_compat() to dma_request_slave_channel(), but
forgot to update the printed failure message.
Fixes: 219fb0c1436e4893 ("serial: sh-sci: Remove the platform data dma slave rx/tx channel IDs")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 54de985..da5ddfc 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -1450,8 +1450,7 @@ static struct dma_chan *sci_request_dma_chan(struct uart_port *port, chan = dma_request_slave_channel(port->dev, dir == DMA_MEM_TO_DEV ? "tx" : "rx"); if (!chan) { - dev_warn(port->dev, - "dma_request_slave_channel_compat failed\n"); + dev_warn(port->dev, "dma_request_slave_channel failed\n"); return NULL; } |