|
@@ -592,8 +592,8 @@ SOC_DAPM_SINGLE("Output Switch", WM8993_LINE_MIXER2, 0, 1, 0),
|
|
};
|
|
};
|
|
|
|
|
|
static const struct snd_kcontrol_new line2n_mix[] = {
|
|
static const struct snd_kcontrol_new line2n_mix[] = {
|
|
-SOC_DAPM_SINGLE("Left Output Switch", WM8993_LINE_MIXER2, 6, 1, 0),
|
|
|
|
-SOC_DAPM_SINGLE("Right Output Switch", WM8993_LINE_MIXER2, 5, 1, 0),
|
|
|
|
|
|
+SOC_DAPM_SINGLE("Left Output Switch", WM8993_LINE_MIXER2, 5, 1, 0),
|
|
|
|
+SOC_DAPM_SINGLE("Right Output Switch", WM8993_LINE_MIXER2, 6, 1, 0),
|
|
};
|
|
};
|
|
|
|
|
|
static const struct snd_kcontrol_new line2p_mix[] = {
|
|
static const struct snd_kcontrol_new line2p_mix[] = {
|
|
@@ -613,6 +613,8 @@ SND_SOC_DAPM_INPUT("IN2RP:VXRP"),
|
|
SND_SOC_DAPM_SUPPLY("MICBIAS2", WM8993_POWER_MANAGEMENT_1, 5, 0, NULL, 0),
|
|
SND_SOC_DAPM_SUPPLY("MICBIAS2", WM8993_POWER_MANAGEMENT_1, 5, 0, NULL, 0),
|
|
SND_SOC_DAPM_SUPPLY("MICBIAS1", WM8993_POWER_MANAGEMENT_1, 4, 0, NULL, 0),
|
|
SND_SOC_DAPM_SUPPLY("MICBIAS1", WM8993_POWER_MANAGEMENT_1, 4, 0, NULL, 0),
|
|
|
|
|
|
|
|
+SND_SOC_DAPM_SUPPLY("LINEOUT_VMID_BUF", WM8993_ANTIPOP1, 7, 0, NULL, 0),
|
|
|
|
+
|
|
SND_SOC_DAPM_MIXER("IN1L PGA", WM8993_POWER_MANAGEMENT_2, 6, 0,
|
|
SND_SOC_DAPM_MIXER("IN1L PGA", WM8993_POWER_MANAGEMENT_2, 6, 0,
|
|
in1l_pga, ARRAY_SIZE(in1l_pga)),
|
|
in1l_pga, ARRAY_SIZE(in1l_pga)),
|
|
SND_SOC_DAPM_MIXER("IN1R PGA", WM8993_POWER_MANAGEMENT_2, 4, 0,
|
|
SND_SOC_DAPM_MIXER("IN1R PGA", WM8993_POWER_MANAGEMENT_2, 4, 0,
|
|
@@ -834,9 +836,11 @@ static const struct snd_soc_dapm_route lineout1_diff_routes[] = {
|
|
};
|
|
};
|
|
|
|
|
|
static const struct snd_soc_dapm_route lineout1_se_routes[] = {
|
|
static const struct snd_soc_dapm_route lineout1_se_routes[] = {
|
|
|
|
+ { "LINEOUT1N Mixer", NULL, "LINEOUT_VMID_BUF" },
|
|
{ "LINEOUT1N Mixer", "Left Output Switch", "Left Output PGA" },
|
|
{ "LINEOUT1N Mixer", "Left Output Switch", "Left Output PGA" },
|
|
{ "LINEOUT1N Mixer", "Right Output Switch", "Right Output PGA" },
|
|
{ "LINEOUT1N Mixer", "Right Output Switch", "Right Output PGA" },
|
|
|
|
|
|
|
|
+ { "LINEOUT1P Mixer", NULL, "LINEOUT_VMID_BUF" },
|
|
{ "LINEOUT1P Mixer", "Left Output Switch", "Left Output PGA" },
|
|
{ "LINEOUT1P Mixer", "Left Output Switch", "Left Output PGA" },
|
|
|
|
|
|
{ "LINEOUT1N Driver", NULL, "LINEOUT1N Mixer" },
|
|
{ "LINEOUT1N Driver", NULL, "LINEOUT1N Mixer" },
|
|
@@ -853,9 +857,11 @@ static const struct snd_soc_dapm_route lineout2_diff_routes[] = {
|
|
};
|
|
};
|
|
|
|
|
|
static const struct snd_soc_dapm_route lineout2_se_routes[] = {
|
|
static const struct snd_soc_dapm_route lineout2_se_routes[] = {
|
|
|
|
+ { "LINEOUT2N Mixer", NULL, "LINEOUT_VMID_BUF" },
|
|
{ "LINEOUT2N Mixer", "Left Output Switch", "Left Output PGA" },
|
|
{ "LINEOUT2N Mixer", "Left Output Switch", "Left Output PGA" },
|
|
{ "LINEOUT2N Mixer", "Right Output Switch", "Right Output PGA" },
|
|
{ "LINEOUT2N Mixer", "Right Output Switch", "Right Output PGA" },
|
|
|
|
|
|
|
|
+ { "LINEOUT2P Mixer", NULL, "LINEOUT_VMID_BUF" },
|
|
{ "LINEOUT2P Mixer", "Right Output Switch", "Right Output PGA" },
|
|
{ "LINEOUT2P Mixer", "Right Output Switch", "Right Output PGA" },
|
|
|
|
|
|
{ "LINEOUT2N Driver", NULL, "LINEOUT2N Mixer" },
|
|
{ "LINEOUT2N Driver", NULL, "LINEOUT2N Mixer" },
|