serial: 8250: Validate dmaengine tx chan meets requirements
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Apr 2016 05:14:33 +0000 (22:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commitddedfd82bc61c8d8d4d0eb754a9bcebb2e84de75
tree149e9e339cb29f788e657384670eaca0da0648ed
parentec5a11a91eecd81ef19b8044a243b4ea56c809e6
serial: 8250: Validate dmaengine tx chan meets requirements

8250 dma support requires the dmaegine driver support terminate.
Query slave caps to determine if necessary commands/properties are
supported; disable dma if not.

Note this means dmaengine driver must support slave caps reporting
as well.

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