diff options
-rw-r--r-- | drivers/tty/serial/mxs-auart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 6db23b035efe..fa31bc38b105 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -550,7 +550,7 @@ static int mxs_auart_dma_init(struct mxs_auart_port *s) | |||
550 | return 0; | 550 | return 0; |
551 | 551 | ||
552 | /* We do not get the right DMA channels. */ | 552 | /* We do not get the right DMA channels. */ |
553 | if (s->dma_channel_rx == -1 || s->dma_channel_rx == -1) | 553 | if (s->dma_channel_rx == -1 || s->dma_channel_tx == -1) |
554 | return -EINVAL; | 554 | return -EINVAL; |
555 | 555 | ||
556 | /* init for RX */ | 556 | /* init for RX */ |