aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-07-11 12:13:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 20:49:46 -0400
commit493671a2cecbb75d5b1aee6959bef1ecb38b932d (patch)
tree8dbebbc5b6e73c779525294eba28cda62aee6a51 /drivers/tty
parentf363ca2fc8d12ebaad1a8bdae0f164c17c747b89 (diff)
serial: pch_uart: Update error message for dmaengine_prep_slave_sg() API
Commit 16052827d98fbc13c31ebad560af4bd53e2b4dd5 ("dmaengine/dma_slave: introduce inline wrappers") changed the code to use the new API, but forgot to update an error message. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Jiri Kosina <trivial@kernel.org> Cc: linux-serial@vger.kernel.org -- v2: - New Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/pch_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 0cb6a8e52bd0..2f06e5a71396 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1047,7 +1047,7 @@ static unsigned int dma_handle_tx(struct eg20t_port *priv)
1047 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, 1047 priv->sg_tx_p, nent, DMA_MEM_TO_DEV,
1048 DMA_PREP_INTERRUPT | DMA_CTRL_ACK); 1048 DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
1049 if (!desc) { 1049 if (!desc) {
1050 dev_err(priv->port.dev, "%s:device_prep_slave_sg Failed\n", 1050 dev_err(priv->port.dev, "%s:dmaengine_prep_slave_sg Failed\n",
1051 __func__); 1051 __func__);
1052 return 0; 1052 return 0;
1053 } 1053 }