cnss2: Complete power_up event on probe failure
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
This commit is contained in:

committed by
Rahul Choudhary

parent
1eb85173ef
commit
4561632548
@@ -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);
|
||||
|
Reference in New Issue
Block a user