Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9e89f30 authored by Manu Gautam's avatar Manu Gautam
Browse files

mhi: cntrl: Update device MMIO region length for MHI core



It can be used by MHI core to have a sanity check for
bhi and bhie offsets reported by device.

Change-Id: Iabcdc53a4c1f7c951721cbec0b1d7285cf19cd72
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent b7b62496
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ static int mhi_init_pci_dev(struct mhi_controller *mhi_cntrl)
		MHI_CNTRL_ERR("Error ioremap region\n");
		goto error_ioremap;
	}
	mhi_cntrl->len = len;

	ret = pci_alloc_irq_vectors(pci_dev, mhi_cntrl->msi_required,
				    mhi_cntrl->msi_required, PCI_IRQ_MSI);
+1 −0
Original line number Diff line number Diff line
@@ -260,6 +260,7 @@ struct mhi_controller {

	/* mmio base */
	phys_addr_t base_addr;
	unsigned int len;
	void __iomem *regs;
	void __iomem *bhi;
	void __iomem *bhie;