ASoC: cs35l41: Correct some control names
Various boolean controls on cs35l41 are missing the required "Switch" in the name, add these. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220621102041.1713504-3-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
630cc59837
commit
87912e97a1
@ -333,7 +333,7 @@ static const struct snd_kcontrol_new cs35l41_aud_controls[] = {
|
||||
SOC_SINGLE("HW Noise Gate Enable", CS35L41_NG_CFG, 8, 63, 0),
|
||||
SOC_SINGLE("HW Noise Gate Delay", CS35L41_NG_CFG, 4, 7, 0),
|
||||
SOC_SINGLE("HW Noise Gate Threshold", CS35L41_NG_CFG, 0, 7, 0),
|
||||
SOC_SINGLE("Aux Noise Gate CH1 Enable",
|
||||
SOC_SINGLE("Aux Noise Gate CH1 Switch",
|
||||
CS35L41_MIXER_NGATE_CH1_CFG, 16, 1, 0),
|
||||
SOC_SINGLE("Aux Noise Gate CH1 Entry Delay",
|
||||
CS35L41_MIXER_NGATE_CH1_CFG, 8, 15, 0),
|
||||
@ -341,15 +341,15 @@ static const struct snd_kcontrol_new cs35l41_aud_controls[] = {
|
||||
CS35L41_MIXER_NGATE_CH1_CFG, 0, 7, 0),
|
||||
SOC_SINGLE("Aux Noise Gate CH2 Entry Delay",
|
||||
CS35L41_MIXER_NGATE_CH2_CFG, 8, 15, 0),
|
||||
SOC_SINGLE("Aux Noise Gate CH2 Enable",
|
||||
SOC_SINGLE("Aux Noise Gate CH2 Switch",
|
||||
CS35L41_MIXER_NGATE_CH2_CFG, 16, 1, 0),
|
||||
SOC_SINGLE("Aux Noise Gate CH2 Threshold",
|
||||
CS35L41_MIXER_NGATE_CH2_CFG, 0, 7, 0),
|
||||
SOC_SINGLE("SCLK Force", CS35L41_SP_FORMAT, CS35L41_SCLK_FRC_SHIFT, 1, 0),
|
||||
SOC_SINGLE("LRCLK Force", CS35L41_SP_FORMAT, CS35L41_LRCLK_FRC_SHIFT, 1, 0),
|
||||
SOC_SINGLE("Invert Class D", CS35L41_AMP_DIG_VOL_CTRL,
|
||||
SOC_SINGLE("SCLK Force Switch", CS35L41_SP_FORMAT, CS35L41_SCLK_FRC_SHIFT, 1, 0),
|
||||
SOC_SINGLE("LRCLK Force Switch", CS35L41_SP_FORMAT, CS35L41_LRCLK_FRC_SHIFT, 1, 0),
|
||||
SOC_SINGLE("Invert Class D Switch", CS35L41_AMP_DIG_VOL_CTRL,
|
||||
CS35L41_AMP_INV_PCM_SHIFT, 1, 0),
|
||||
SOC_SINGLE("Amp Gain ZC", CS35L41_AMP_GAIN_CTRL,
|
||||
SOC_SINGLE("Amp Gain ZC Switch", CS35L41_AMP_GAIN_CTRL,
|
||||
CS35L41_AMP_GAIN_ZC_SHIFT, 1, 0),
|
||||
WM_ADSP2_PRELOAD_SWITCH("DSP1", 1),
|
||||
WM_ADSP_FW_CONTROL("DSP1", 0),
|
||||
|
Loading…
Reference in New Issue
Block a user