mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 11:46:49 +07:00
iwlagn: waterfall the bus level if prepare card failed
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
ea3aa93055
commit
bcd4fe2f9e
@ -3540,6 +3540,7 @@ int iwl_probe(void *bus_specific, struct iwl_bus_ops *bus_ops,
|
|||||||
priv->cfg->name, hw_rev);
|
priv->cfg->name, hw_rev);
|
||||||
|
|
||||||
if (iwl_prepare_card_hw(priv)) {
|
if (iwl_prepare_card_hw(priv)) {
|
||||||
|
err = -EIO;
|
||||||
IWL_WARN(priv, "Failed, HW not ready\n");
|
IWL_WARN(priv, "Failed, HW not ready\n");
|
||||||
goto out_free_traffic_mem;
|
goto out_free_traffic_mem;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user