Following Standard ALSA Control Names convention
See kernel documentation, e.g. v5.5:Documentation/sound/designs/control-names.rst Fixes https://github.com/respeaker/seeed-voicecard/issues/247
This commit is contained in:
parent
2e8586d547
commit
921ac8fba5
4
ac101.c
4
ac101.c
|
@ -782,8 +782,8 @@ static struct snd_kcontrol_new ac101_controls[] = {
|
||||||
SOC_DOUBLE_TLV("DAC volume", DAC_VOL_CTRL, DAC_VOL_L, DAC_VOL_R, 0xff, 0, dac_vol_tlv),
|
SOC_DOUBLE_TLV("DAC volume", DAC_VOL_CTRL, DAC_VOL_L, DAC_VOL_R, 0xff, 0, dac_vol_tlv),
|
||||||
SOC_DOUBLE_TLV("DAC mixer gain", DAC_MXR_GAIN, DACL_MXR_GAIN, DACR_MXR_GAIN, 0xf, 0, dac_mix_vol_tlv),
|
SOC_DOUBLE_TLV("DAC mixer gain", DAC_MXR_GAIN, DACL_MXR_GAIN, DACR_MXR_GAIN, 0xf, 0, dac_mix_vol_tlv),
|
||||||
SOC_SINGLE_TLV("digital volume", DAC_DBG_CTRL, DVC, 0x3f, 1, dig_vol_tlv),
|
SOC_SINGLE_TLV("digital volume", DAC_DBG_CTRL, DVC, 0x3f, 1, dig_vol_tlv),
|
||||||
SOC_SINGLE_TLV("speaker volume", SPKOUT_CTRL, SPK_VOL, 0x1f, 0, speaker_vol_tlv),
|
SOC_SINGLE_TLV("Speaker Playback Volume", SPKOUT_CTRL, SPK_VOL, 0x1f, 0, speaker_vol_tlv),
|
||||||
SOC_SINGLE_TLV("headphone volume", HPOUT_CTRL, HP_VOL, 0x3f, 0, headphone_vol_tlv),
|
SOC_SINGLE_TLV("Headphone Playback Volume", HPOUT_CTRL, HP_VOL, 0x3f, 0, headphone_vol_tlv),
|
||||||
};
|
};
|
||||||
|
|
||||||
/* PLL divisors */
|
/* PLL divisors */
|
||||||
|
|
|
@ -338,7 +338,7 @@ state.seeed8micvoicec {
|
||||||
}
|
}
|
||||||
control.20 {
|
control.20 {
|
||||||
iface MIXER
|
iface MIXER
|
||||||
name 'speaker volume'
|
name 'Speaker Playback Volume'
|
||||||
value 25
|
value 25
|
||||||
comment {
|
comment {
|
||||||
access 'read write'
|
access 'read write'
|
||||||
|
@ -352,7 +352,7 @@ state.seeed8micvoicec {
|
||||||
}
|
}
|
||||||
control.21 {
|
control.21 {
|
||||||
iface MIXER
|
iface MIXER
|
||||||
name 'headphone volume'
|
name 'Headphone Playback Volume'
|
||||||
value 52
|
value 52
|
||||||
comment {
|
comment {
|
||||||
access 'read write'
|
access 'read write'
|
||||||
|
|
Loading…
Reference in New Issue