serial: 8250_lpss: Try to enable Memory-Write-Invalidate

Enable MWI mechanism if PCI bus master supports it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Andy Shevchenko 2016-10-10 11:27:19 +03:00 committed by Greg Kroah-Hartman
parent 3f3a46951e
commit eca84e99d1
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ static void qrk_serial_setup_dma(struct lpss8250 *lpss, struct uart_port *port)
return;
pci_set_master(pdev);
pci_try_set_mwi(pdev);
/* Special DMA address for UART */
dma->rx_dma_addr = 0xfffff000;