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: Manu Gautam <mgautam@codeaurora.org>
This commit is contained in:
parent
b7b624962b
commit
d9e89f305b
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user