Commit 324f1feb authored by Kalle Valo's avatar Kalle Valo
Browse files

Revert "brcmfmac: send mailbox interrupt twice for specific hardware device"



This reverts commit 99d94ef3. I accidentally
applied this broken (failed to compile) patch due to a bug in my patchwork
script.

Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 99d94ef3
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -698,10 +698,6 @@ brcmf_pcie_send_mb_data(struct brcmf_pciedev_info *devinfo, u32 htod_mb_data)

	brcmf_pcie_write_tcm32(devinfo, addr, htod_mb_data);
	pci_write_config_dword(devinfo->pdev, BRCMF_PCIE_REG_SBMBX, 1);

	/* Send mailbox interrupt twice as a hardware workaround */
	core = brcmf_chip_get_core(devinfo->ci, BCMA_CORE_PCIE2);
	if (core->rev <= 13)
	pci_write_config_dword(devinfo->pdev, BRCMF_PCIE_REG_SBMBX, 1);

	return 0;