Browse Source

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>
Andy Shevchenko 8 years ago
parent
commit
eca84e99d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/tty/serial/8250/8250_lpss.c

+ 1 - 0
drivers/tty/serial/8250/8250_lpss.c

@@ -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;