mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
ASoC: codecs: es*: controls that write each other's bits
Zhang Yi <zhangyi@everest-semi.com> says: Both the Kcontrols for the ES8326 and ES8375 have an issue where they write to other bits. This patch will fix that issue. Link: https://patch.msgid.link/20261026054837.13618-1-zhangyi@everest-semi.com
This commit is contained in:
commit
60aa5abdc9
|
|
@ -353,7 +353,7 @@ static const struct snd_kcontrol_new es8326_snd_controls[] = {
|
|||
SOC_SINGLE_TLV("DRE Gate Volume", ES8326_ADC_DRE_GATE,
|
||||
4, 0x07, 0, dre_gate_tlv),
|
||||
SOC_SINGLE("ALC Capture Switch", ES8326_ALC_RECOVERY, 3, 1, 0),
|
||||
SOC_SINGLE_TLV("ALC Capture Recovery Level", ES8326_ALC_LEVEL,
|
||||
SOC_SINGLE_TLV("ALC Capture Recovery Level", ES8326_ALC_RECOVERY,
|
||||
0, 4, 0, drc_recovery_tlv),
|
||||
SOC_ENUM("ALC Capture Winsize", alc_winsize),
|
||||
SOC_SINGLE_TLV("ALC Capture Target Level", ES8326_ALC_LEVEL,
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
|
||||
// Function values
|
||||
#define ES8375_ADC_OSR_GAIN_MAX 0x3F
|
||||
#define ES8375_DMIC_GAIN_MAX 0x04
|
||||
#define ES8375_DMIC_GAIN_MAX 0x03
|
||||
#define ES8375_ADC_AUTOMUTE_ATTN_MAX 0x1F
|
||||
#define ES8375_AUTOMUTE_NG_MAX 0x07
|
||||
#define ES8375_ADC_VOLUME_MAX 0xFF
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user