Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46aa49c1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss: Unregister the driver operations when probe fails"

parents 915edd9d f868b8ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2414,6 +2414,7 @@ static int icnss_call_driver_probe(struct icnss_priv *priv)

out:
	icnss_hw_power_off(priv);
	penv->ops = NULL;
	return ret;
}

@@ -2516,6 +2517,7 @@ static int icnss_driver_event_register_driver(void *data)

power_off:
	icnss_hw_power_off(penv);
	penv->ops = NULL;
out:
	return ret;
}