Skip to content

Commit c6a5f22

Browse files
charleskeepaxbroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 0bc0ae9 commit c6a5f22

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sound/soc/codecs/cs35l41.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,23 +333,23 @@ static const struct snd_kcontrol_new cs35l41_aud_controls[] = {
333333
SOC_SINGLE("HW Noise Gate Enable", CS35L41_NG_CFG, 8, 63, 0),
334334
SOC_SINGLE("HW Noise Gate Delay", CS35L41_NG_CFG, 4, 7, 0),
335335
SOC_SINGLE("HW Noise Gate Threshold", CS35L41_NG_CFG, 0, 7, 0),
336-
SOC_SINGLE("Aux Noise Gate CH1 Enable",
336+
SOC_SINGLE("Aux Noise Gate CH1 Switch",
337337
CS35L41_MIXER_NGATE_CH1_CFG, 16, 1, 0),
338338
SOC_SINGLE("Aux Noise Gate CH1 Entry Delay",
339339
CS35L41_MIXER_NGATE_CH1_CFG, 8, 15, 0),
340340
SOC_SINGLE("Aux Noise Gate CH1 Threshold",
341341
CS35L41_MIXER_NGATE_CH1_CFG, 0, 7, 0),
342342
SOC_SINGLE("Aux Noise Gate CH2 Entry Delay",
343343
CS35L41_MIXER_NGATE_CH2_CFG, 8, 15, 0),
344-
SOC_SINGLE("Aux Noise Gate CH2 Enable",
344+
SOC_SINGLE("Aux Noise Gate CH2 Switch",
345345
CS35L41_MIXER_NGATE_CH2_CFG, 16, 1, 0),
346346
SOC_SINGLE("Aux Noise Gate CH2 Threshold",
347347
CS35L41_MIXER_NGATE_CH2_CFG, 0, 7, 0),
348-
SOC_SINGLE("SCLK Force", CS35L41_SP_FORMAT, CS35L41_SCLK_FRC_SHIFT, 1, 0),
349-
SOC_SINGLE("LRCLK Force", CS35L41_SP_FORMAT, CS35L41_LRCLK_FRC_SHIFT, 1, 0),
350-
SOC_SINGLE("Invert Class D", CS35L41_AMP_DIG_VOL_CTRL,
348+
SOC_SINGLE("SCLK Force Switch", CS35L41_SP_FORMAT, CS35L41_SCLK_FRC_SHIFT, 1, 0),
349+
SOC_SINGLE("LRCLK Force Switch", CS35L41_SP_FORMAT, CS35L41_LRCLK_FRC_SHIFT, 1, 0),
350+
SOC_SINGLE("Invert Class D Switch", CS35L41_AMP_DIG_VOL_CTRL,
351351
CS35L41_AMP_INV_PCM_SHIFT, 1, 0),
352-
SOC_SINGLE("Amp Gain ZC", CS35L41_AMP_GAIN_CTRL,
352+
SOC_SINGLE("Amp Gain ZC Switch", CS35L41_AMP_GAIN_CTRL,
353353
CS35L41_AMP_GAIN_ZC_SHIFT, 1, 0),
354354
WM_ADSP2_PRELOAD_SWITCH("DSP1", 1),
355355
WM_ADSP_FW_CONTROL("DSP1", 0),

0 commit comments

Comments
 (0)