For APsI pld_get_mhi_state() and pld_is_pci_ep_awake() return proper value for buses other than IPCI where these APIs are not supported. Change-Id: I2dfe8118d29aa2bc75484ff4d708b21eba264350
@@ -691,6 +691,7 @@ int pld_get_mhi_state(struct device *dev)
case PLD_BUS_TYPE_SNOC:
case PLD_BUS_TYPE_SDIO:
case PLD_BUS_TYPE_USB:
+ ret = PLD_MHI_STATE_L0;
break;
case PLD_BUS_TYPE_IPCI:
ret = pld_ipci_mhi_state(dev);
@@ -1391,6 +1392,7 @@ int pld_is_pci_ep_awake(struct device *dev)
+ ret = -ENOTSUPP;
ret = pld_ipci_is_pci_ep_awake(dev);