diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2010-05-23 04:40:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 16:37:17 -0400 |
commit | e59e2bd9e85604ad601ec7dd056baffcd6ad56a0 (patch) | |
tree | 8aade18fed1407f99ee5b746ee62ab6b45ba4607 /drivers/serial | |
parent | ca3e442e8dbbe2551473f36f0e7797b1d3205f5a (diff) |
serial: bfin_5xx: fix typo in IER check
This most likely won't cause problems on systems as people don't typically
enable GPIO RTS/CTS if they don't actually use it.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index a78652b21e40..511cbf687877 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
@@ -797,7 +797,7 @@ static void bfin_serial_shutdown(struct uart_port *port) | |||
797 | gpio_free(uart->rts_pin); | 797 | gpio_free(uart->rts_pin); |
798 | #endif | 798 | #endif |
799 | #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS | 799 | #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS |
800 | if (UART_GET_IER(uart) && EDSSI) | 800 | if (UART_GET_IER(uart) & EDSSI) |
801 | free_irq(uart->status_irq, uart); | 801 | free_irq(uart->status_irq, uart); |
802 | #endif | 802 | #endif |
803 | } | 803 | } |