Browse Source

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>
Geert Uytterhoeven 8 years ago
parent
commit
9b7becf103
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/tty/serial/sh-sci.c

+ 1 - 2
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,
 	chan = dma_request_slave_channel(port->dev,
 					 dir == DMA_MEM_TO_DEV ? "tx" : "rx");
 					 dir == DMA_MEM_TO_DEV ? "tx" : "rx");
 	if (!chan) {
 	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;
 		return NULL;
 	}
 	}