Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: codecs: ES8326: Improved PSRR

Modified configuration to improve PSSR when ES8326 is working

Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
Link: https://patch.msgid.link/20250120101758.13347-1-zhangyi@everest-semi.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Zhang Yi and committed by
Mark Brown
da8146ce fee89ddd

+2 -2
+2 -2
sound/soc/codecs/es8326.c
··· 896 896 regmap_write(es8326->regmap, ES8326_INT_SOURCE, 897 897 (ES8326_INT_SRC_PIN9 | ES8326_INT_SRC_BUTTON)); 898 898 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); 900 900 queue_delayed_work(system_wq, &es8326->jack_detect_work, 901 901 msecs_to_jiffies(400)); 902 902 es8326->hp = 1; ··· 1008 1008 struct es8326_priv *es8326 = snd_soc_component_get_drvdata(component); 1009 1009 1010 1010 regmap_write(es8326->regmap, ES8326_RESET, 0x1f); 1011 - regmap_write(es8326->regmap, ES8326_VMIDSEL, 0x0E); 1011 + regmap_write(es8326->regmap, ES8326_VMIDSEL, 0x3E); 1012 1012 regmap_write(es8326->regmap, ES8326_ANA_LP, 0xf0); 1013 1013 usleep_range(10000, 15000); 1014 1014 regmap_write(es8326->regmap, ES8326_HPJACK_TIMER, 0xd9);