qcacld-3.0: Add WHUNT bus types in pld_lock/unlock_reg_window APIs

Currently pld_lock/unlock_reg_window APIs don't support
WHUNT simulation bus types and treated as error.
Add support for WHUNT simulation buses in lock/unlock
register window APIs.

Change-Id: I1e82d822becaadc9592b693e6ab20331ecb9cbc2
This commit is contained in:
Karthik Kantamneni 2019-11-15 16:03:38 +05:30 • committed by nshrivas
commit 2d65b47bb3

View file

@ -1402,6 +1402,8 @@ void pld_lock_reg_window(struct device *dev, unsigned long *flags)
case PLD_BUS_TYPE_PCIE:
pld_pcie_lock_reg_window(dev, flags);
break;
case PLD_BUS_TYPE_PCIE_FW_SIM:
case PLD_BUS_TYPE_SNOC_FW_SIM:
case PLD_BUS_TYPE_SNOC:
break;
case PLD_BUS_TYPE_SDIO:
@ -1429,6 +1431,8 @@ void pld_unlock_reg_window(struct device *dev, unsigned long *flags)
case PLD_BUS_TYPE_PCIE:
pld_pcie_unlock_reg_window(dev, flags);
break;
case PLD_BUS_TYPE_PCIE_FW_SIM:
case PLD_BUS_TYPE_SNOC_FW_SIM:
case PLD_BUS_TYPE_SNOC:
break;
case PLD_BUS_TYPE_SDIO: