File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -835,7 +835,6 @@ static void es8326_jack_detect_handler(struct work_struct *work)
835
835
dev_dbg (comp -> dev , "Report hp remove event\n" );
836
836
snd_soc_jack_report (es8326 -> jack , 0 , SND_JACK_HEADSET );
837
837
/* mute adc when mic path switch */
838
- regmap_write (es8326 -> regmap , ES8326_ADC_SCALE , 0x33 );
839
838
regmap_write (es8326 -> regmap , ES8326_ADC1_SRC , 0x44 );
840
839
regmap_write (es8326 -> regmap , ES8326_ADC2_SRC , 0x66 );
841
840
es8326 -> hp = 0 ;
@@ -894,7 +893,6 @@ static void es8326_jack_detect_handler(struct work_struct *work)
894
893
snd_soc_jack_report (es8326 -> jack ,
895
894
SND_JACK_HEADSET , SND_JACK_HEADSET );
896
895
897
- regmap_write (es8326 -> regmap , ES8326_ADC_SCALE , 0x33 );
898
896
regmap_update_bits (es8326 -> regmap , ES8326_PGA_PDN ,
899
897
0x08 , 0x08 );
900
898
regmap_update_bits (es8326 -> regmap , ES8326_PGAGAIN ,
You can’t perform that action at this time.
0 commit comments