serial: 8250_lpss: set PCI master only for private DMA
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Oct 2016 08:27:18 +0000 (11:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Oct 2016 14:27:24 +0000 (16:27 +0200)
commit3f3a46951e02a89961f47db97624767b5b9befec
tree3ac6d9cf6c5764baaea4cf32ea3be761b466dfb9
parent0fe07647cc5003307fc4258f0b87239849aff68a
serial: 8250_lpss: set PCI master only for private DMA

There is no need to set PCI bus mastering when device is not doing any DMA.
Though on Intel Quark DMA is a part of UART IP and thus shares same device in
Linux kernel.

Enable bus mastering only for Quark case.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_lpss.c