mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
6a4a49544d
commit
70d6e6fe76
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue