Skip to content

Commit da8146c

Browse files
Michael-zy2000broonie
authored andcommitted
ASoC: codecs: ES8326: Improved PSRR
Modified configuration to improve PSSR when ES8326 is working Signed-off-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent fee89dd commit da8146c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/es8326.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ static void es8326_jack_detect_handler(struct work_struct *work)
896896
regmap_write(es8326->regmap, ES8326_INT_SOURCE,
897897
(ES8326_INT_SRC_PIN9 | ES8326_INT_SRC_BUTTON));
898898
regmap_write(es8326->regmap, ES8326_SYS_BIAS, 0x1f);
899-
regmap_update_bits(es8326->regmap, ES8326_HP_DRIVER_REF, 0x0f, 0x08);
899+
regmap_update_bits(es8326->regmap, ES8326_HP_DRIVER_REF, 0x0f, 0x0d);
900900
queue_delayed_work(system_wq, &es8326->jack_detect_work,
901901
msecs_to_jiffies(400));
902902
es8326->hp = 1;
@@ -1008,7 +1008,7 @@ static void es8326_init(struct snd_soc_component *component)
10081008
struct es8326_priv *es8326 = snd_soc_component_get_drvdata(component);
10091009

10101010
regmap_write(es8326->regmap, ES8326_RESET, 0x1f);
1011-
regmap_write(es8326->regmap, ES8326_VMIDSEL, 0x0E);
1011+
regmap_write(es8326->regmap, ES8326_VMIDSEL, 0x3E);
10121012
regmap_write(es8326->regmap, ES8326_ANA_LP, 0xf0);
10131013
usleep_range(10000, 15000);
10141014
regmap_write(es8326->regmap, ES8326_HPJACK_TIMER, 0xd9);

0 commit comments

Comments
 (0)