aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/wm8731.c6
-rw-r--r--sound/soc/codecs/wm8750.c12
2 files changed, 11 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index 412291241ece..8151b45a280c 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -310,8 +310,10 @@ static const struct soc_enum wm8731_enum[] = {
310 310
311static const struct snd_kcontrol_new wm8731_snd_controls[] = { 311static const struct snd_kcontrol_new wm8731_snd_controls[] = {
312 312
313SOC_DOUBLE_R("Playback Volume", WM8731_LOUT1V, WM8731_ROUT1V, 0, 127, 0), 313SOC_DOUBLE_R("Master Playback Volume", WM8731_LOUT1V, WM8731_ROUT1V,
314SOC_DOUBLE_R("Playback ZC Switch", WM8731_LOUT1V, WM8731_ROUT1V, 7, 1, 0), 314 0, 127, 0),
315SOC_DOUBLE_R("Master Playback ZC Switch", WM8731_LOUT1V, WM8731_ROUT1V,
316 7, 1, 0),
315 317
316SOC_DOUBLE_R("Capture Volume", WM8731_LINVOL, WM8731_RINVOL, 0, 31, 0), 318SOC_DOUBLE_R("Capture Volume", WM8731_LINVOL, WM8731_RINVOL, 0, 31, 0),
317SOC_DOUBLE_R("Line Capture Switch", WM8731_LINVOL, WM8731_RINVOL, 7, 1, 1), 319SOC_DOUBLE_R("Line Capture Switch", WM8731_LINVOL, WM8731_RINVOL, 7, 1, 1),
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c
index c5d13a9454d9..4cc85128dc59 100644
--- a/sound/soc/codecs/wm8750.c
+++ b/sound/soc/codecs/wm8750.c
@@ -444,9 +444,9 @@ SOC_DOUBLE_R("Capture Volume", WM8750_LINVOL, WM8750_RINVOL, 0, 63, 0),
444SOC_DOUBLE_R("Capture ZC Switch", WM8750_LINVOL, WM8750_RINVOL, 6, 1, 0), 444SOC_DOUBLE_R("Capture ZC Switch", WM8750_LINVOL, WM8750_RINVOL, 6, 1, 0),
445SOC_DOUBLE_R("Capture Switch", WM8750_LINVOL, WM8750_RINVOL, 7, 1, 1), 445SOC_DOUBLE_R("Capture Switch", WM8750_LINVOL, WM8750_RINVOL, 7, 1, 1),
446 446
447SOC_DOUBLE_R("Out1 Playback ZC Switch", WM8750_LOUT1V, 447SOC_DOUBLE_R("Headphone Playback ZC Switch", WM8750_LOUT1V,
448 WM8750_ROUT1V, 7, 1, 0), 448 WM8750_ROUT1V, 7, 1, 0),
449SOC_DOUBLE_R("Out2 Playback ZC Switch", WM8750_LOUT2V, 449SOC_DOUBLE_R("Speaker Playback ZC Switch", WM8750_LOUT2V,
450 WM8750_ROUT2V, 7, 1, 0), 450 WM8750_ROUT2V, 7, 1, 0),
451 451
452SOC_ENUM("Playback De-emphasis", wm8750_enum[15]), 452SOC_ENUM("Playback De-emphasis", wm8750_enum[15]),
@@ -487,7 +487,7 @@ SOC_SINGLE("Right ADC Capture Volume", WM8750_RADC, 0, 255, 0),
487SOC_SINGLE("ZC Timeout Switch", WM8750_ADCTL1, 0, 1, 0), 487SOC_SINGLE("ZC Timeout Switch", WM8750_ADCTL1, 0, 1, 0),
488SOC_SINGLE("Playback Invert Switch", WM8750_ADCTL1, 1, 1, 0), 488SOC_SINGLE("Playback Invert Switch", WM8750_ADCTL1, 1, 1, 0),
489 489
490SOC_SINGLE("Right Out2 Playback Invert Switch", WM8750_ADCTL2, 4, 1, 0), 490SOC_SINGLE("Right Speaker Playback Invert Switch", WM8750_ADCTL2, 4, 1, 0),
491 491
492/* Unimplemented */ 492/* Unimplemented */
493/* ADCDAC Bit 0 - ADCHPD */ 493/* ADCDAC Bit 0 - ADCHPD */
@@ -514,8 +514,10 @@ SOC_DOUBLE_R("Bypass Mono Playback Volume", WM8750_MOUTM1,
514 514
515SOC_SINGLE("Mono Playback ZC Switch", WM8750_MOUTV, 7, 1, 0), 515SOC_SINGLE("Mono Playback ZC Switch", WM8750_MOUTV, 7, 1, 0),
516 516
517SOC_DOUBLE_R("Out1 Playback Volume", WM8750_LOUT1V, WM8750_ROUT1V, 0, 127, 0), 517SOC_DOUBLE_R("Headphone Playback Volume", WM8750_LOUT1V, WM8750_ROUT1V,
518SOC_DOUBLE_R("Out2 Playback Volume", WM8750_LOUT2V, WM8750_ROUT2V, 0, 127, 0), 518 0, 127, 0),
519SOC_DOUBLE_R("Speaker Playback Volume", WM8750_LOUT2V, WM8750_ROUT2V,
520 0, 127, 0),
519 521
520SOC_SINGLE("Mono Playback Volume", WM8750_MOUTV, 0, 127, 0), 522SOC_SINGLE("Mono Playback Volume", WM8750_MOUTV, 0, 127, 0),
521 523