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

Commit 70d6e6fe authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

fsa4480: Update bits for switch ctl in reg notifier



Update bits for switch ctl in reg notifier so that
after PDR euro headset is detected as US and playback dosent
get paused on headset.

Change-Id: I02639b2c1db64bea03c0bb0696568a3aa9275b01
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 6a4a4954
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);