From fff28a224dafe79d363a1398f0a556e72635c81b Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 29 Dec 2012 00:16:33 +0100 Subject: [PATCH] --- yaml --- r: 354753 b: refs/heads/master c: 81a7d777497aa4f8c4b5f46b2b8b978779840462 h: refs/heads/master i: 354751: ae94311d87839d9afdf5d617aaaddd7482f22363 v: v3 --- [refs] | 2 +- trunk/drivers/tty/serial/mxs-auart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 93e4e2a6b08b..f70c599c2258 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e759d7c53b39a43fc908425bf9985b8b7d930550 +refs/heads/master: 81a7d777497aa4f8c4b5f46b2b8b978779840462 diff --git a/trunk/drivers/tty/serial/mxs-auart.c b/trunk/drivers/tty/serial/mxs-auart.c index 6db23b035efe..fa31bc38b105 100644 --- a/trunk/drivers/tty/serial/mxs-auart.c +++ b/trunk/drivers/tty/serial/mxs-auart.c @@ -550,7 +550,7 @@ static int mxs_auart_dma_init(struct mxs_auart_port *s) return 0; /* We do not get the right DMA channels. */ - if (s->dma_channel_rx == -1 || s->dma_channel_rx == -1) + if (s->dma_channel_rx == -1 || s->dma_channel_tx == -1) return -EINVAL; /* init for RX */