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

Commit b43115c1 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: soc: qcom: Initialize priv data on notifier unregister"

parents 9ad222c2 e164fa91
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -194,6 +194,7 @@ int fsa4480_unreg_notifier(struct notifier_block *nb,
	if (!fsa_priv)
		return -EINVAL;

	atomic_set(&(fsa_priv->usbc_mode), 0);
	fsa4480_usbc_update_settings(fsa_priv, 0x18, 0x98);
	return blocking_notifier_chain_unregister
					(&fsa_priv->fsa4480_notifier, nb);