]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dw: proper support for UARTs without busy functionality
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 21 Sep 2015 11:17:29 +0000 (14:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:38:45 +0000 (18:38 +0100)
commitdcc6fd83e73b230b98432c01f782622908aac2a0
treeb5650651f3913cf4f32fefd7b728bcdda9b44f58
parentbd9bea11fd7a70183d93fe3dd0f165f48b0259c3
serial: 8250_dw: proper support for UARTs without busy functionality

If the DW_apb_uart is configured with UART_16550_COMPATIBLE
configuration parameter set, then the Busy Functionality is
not available. These UARTs will never generate the Busy
detect indication interrupt, and therefore don't need
handling for it.

This creates a small optimization for the DW_apb_uarts
configured without the busy functionality, but more
importantly, it removes the small but real risk of hitting
potential issues caused by busy functionality handling when
no busy functionality exist.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt
drivers/tty/serial/8250/8250_dw.c