mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
cnss2: 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: Ibcdef53a4c1f7c951721cbec0b1d7285cf19cd72 Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
This commit is contained in:
parent
c61705f68b
commit
775e234a67
1 changed files with 4 additions and 2 deletions
|
|
@ -4453,8 +4453,10 @@ static int cnss_pci_register_mhi(struct cnss_pci_data *pci_priv)
|
|||
mhi_ctrl->fw_image = plat_priv->firmware_name;
|
||||
|
||||
mhi_ctrl->regs = pci_priv->bar;
|
||||
cnss_pr_dbg("BAR starts at %pa\n",
|
||||
&pci_resource_start(pci_priv->pci_dev, PCI_BAR_NUM));
|
||||
mhi_ctrl->len = pci_resource_len(pci_priv->pci_dev, PCI_BAR_NUM);
|
||||
cnss_pr_dbg("BAR starts at %pa, len-%x\n",
|
||||
&pci_resource_start(pci_priv->pci_dev, PCI_BAR_NUM),
|
||||
mhi_ctrl->len);
|
||||
|
||||
ret = cnss_pci_get_mhi_msi(pci_priv);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue