serial: mxs-auart: Fix typo in sanity check

Detected by cppcheck:
[others/linux/drivers/tty/serial/mxs-auart.c:553]: (style) Same expression on both sides of '||'.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Jarosch 2012-12-29 00:16:33 +01:00 committed by Greg Kroah-Hartman
parent e759d7c53b
commit 81a7d77749
1 changed files with 1 additions and 1 deletions

View File

@ -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 */