qdpc-host: fixes for Optimus Prime.

- Do not call qdpc_tune_pcie_mps(), which sets the PCIe MPS (Maximum
  Payload Size). The kernel already decided on the correct MPS during
  enumeration.

- Do not call qdpc_set_dma_mask(), which sets the address limitation for
  DMA allocations. Quantenna document "PCIe Module Porting Guide" says
  that this call can be safely removed.

Change-Id: I783612b379e336859870d2f6243463649c393e5d
diff --git a/drivers/net/wireless/quantenna/pcie2/host/common/qdpc_init.c b/drivers/net/wireless/quantenna/pcie2/host/common/qdpc_init.c
index c2e6e30..5dfe587 100644
--- a/drivers/net/wireless/quantenna/pcie2/host/common/qdpc_init.c
+++ b/drivers/net/wireless/quantenna/pcie2/host/common/qdpc_init.c
@@ -361,8 +361,6 @@
 		PRINT_DBG(KERN_INFO "The device %x has PCI Express capability\n", pdev->device);
 	}
 
-	qdpc_tune_pcie_mps(pdev, pos);
-
 	/*  Wake up the device if it is in suspended state and allocate IO,
 	 *  memory regions and IRQ if not
 	 */
@@ -720,12 +718,6 @@
 	qdpc_setbootstate(priv, QDPC_BDA_FW_HOST_RDY);
 	qdpc_bootpoll(priv, QDPC_BDA_FW_TARGET_RDY);
 
-	if (qdpc_set_dma_mask(priv)){
-		printk("Failed to map DMA mask.\n");
-		priv->init_thread = NULL;
-		do_exit(-1);
-	}
-
 	bdaflg = qdpc_pci_readl(&bda->bda_flags);
 	if ((PCIE_BDA_FLASH_PRESENT & bdaflg) && EP_BOOT_FROM_FLASH) {
 		printk("EP have fw in flash, boot from flash\n");