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

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

Merge "fsa4480: Update bits for switch ctl in reg notifier"

parents 6f9cdf89 70d6e6fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -311,8 +311,8 @@ int fsa4480_reg_notifier(struct notifier_block *nb,
	dev_dbg(fsa_priv->dev, "%s: verify if USB adapter is already inserted\n",
		__func__);
	rc = fsa4480_usbc_analog_setup_switches(fsa_priv);
	fsa4480_usbc_update_settings(fsa_priv, fsa_priv->switch_control,
				     0x9F);
	regmap_update_bits(fsa_priv->regmap, FSA4480_SWITCH_CONTROL, 0x07,
			   fsa_priv->switch_control);
	return rc;
}
EXPORT_SYMBOL(fsa4480_reg_notifier);