Complete power_up event on probe failure to avoid timeout while waiting for this event during unregister of host driver. Change-Id: Ie262305ef960ab40cd38b4a695d409eb36fcf0d7 CRs-Fixed: 3565756
@@ -2828,6 +2828,7 @@ int cnss_pci_call_driver_probe(struct cnss_pci_data *pci_priv)
if (ret) {
cnss_pr_err("Failed to probe host driver, err = %d\n",
ret);
+ complete_all(&plat_priv->power_up_complete);
goto out;
}
clear_bit(CNSS_DRIVER_LOADING, &plat_priv->driver_state);