qcacld-3.0: change pld_ipci_smmu_unmap support only for IPCI type
Currently pld_ipci_smmu_unmap suppot has been added for IPCI, PCIE_FW_SIM and SNOC_FW_SIM type cases as an error, moving this unmap support only for type IPCI. Change-Id: Ib9a60656920d1cc46e28dc269983b7da8dba7d42 CRs-Fixed: 2896804
This commit is contained in:

committad av
snandini

förälder
e751855624
incheckning
a2f248c0ce
@@ -2013,11 +2013,14 @@ int pld_smmu_unmap(struct device *dev,
|
||||
case PLD_BUS_TYPE_PCIE:
|
||||
ret = pld_pcie_smmu_unmap(dev, iova_addr, size);
|
||||
break;
|
||||
case PLD_BUS_TYPE_PCIE_FW_SIM:
|
||||
case PLD_BUS_TYPE_SNOC_FW_SIM:
|
||||
case PLD_BUS_TYPE_IPCI:
|
||||
ret = pld_ipci_smmu_unmap(dev, iova_addr, size);
|
||||
break;
|
||||
case PLD_BUS_TYPE_PCIE_FW_SIM:
|
||||
case PLD_BUS_TYPE_IPCI_FW_SIM:
|
||||
case PLD_BUS_TYPE_SNOC_FW_SIM:
|
||||
pr_err("Not supported on type %d\n", type);
|
||||
break;
|
||||
default:
|
||||
pr_err("Invalid device type %d\n", type);
|
||||
ret = -EINVAL;
|
||||
|
Referens i nytt ärende
Block a user