]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dw: provide a filter for DMA channel detection
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 5 Sep 2013 14:34:54 +0000 (17:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 21:27:24 +0000 (14:27 -0700)
commit958cbc29e2696d11a35a995a8ee1501acc9ac548
tree6b73c3dd1acabadaf5fd5245a9ed6ae9946ef9a9
parent846728d9e59b8cb1be88ee558e6e981a9204f94d
serial: 8250_dw: provide a filter for DMA channel detection

The channel IDs are set to -1 by default. It will prevent
dmaengine from trying to provide the first free channel if
it fails to allocate exclusive channel. This will fix an
issue with ACPI enumerated UARTs that do not support DMA
but still end up getting a DMA channel incorrectly.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c