提交 e59e2bd9 编写于 作者: S Sonic Zhang 提交者: Greg Kroah-Hartman

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: NSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ca3e442e
无相关合并请求
...@@ -797,7 +797,7 @@ static void bfin_serial_shutdown(struct uart_port *port) ...@@ -797,7 +797,7 @@ static void bfin_serial_shutdown(struct uart_port *port)
gpio_free(uart->rts_pin); gpio_free(uart->rts_pin);
#endif #endif
#ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
if (UART_GET_IER(uart) && EDSSI) if (UART_GET_IER(uart) & EDSSI)
free_irq(uart->status_irq, uart); free_irq(uart->status_irq, uart);
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部