forked from luck/tmp_suning_uos_patched
A couple of small, driver specific fixes - nothing too exciting going
on. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPQ/LIAAoJEBus8iNuMP3d3qYQAIW6eCnfrTjTe5s7FpXcSqup gIIwoibxg6YA2SbXm0l1YBFnZxUl21S9vbAni9ZqYAcYFPlLS/WKb6N7X8bWKA/4 PfzR96VPBum0sZg+1PwIgYd/zh29Mv532hzLAGCG862afW2TIF3dke8bLsdh4GvV KTbicLBmo7EdnshOOsEIKq0UGNkAFss6V8JvxeUSIlQPY2npv887tbnO29LHNjR7 al4Mg23bLeCWqgUCIihyPz4LwCsyQtM/xm/sL0RBvo8OPsqnPdCvCZ9ZK7vzYQ3n HAp62oF2QZ1S/cxp9VnpMT/wVaBo2amTFcLybZyuRoIv0YxRNcfxiDXQaKqlIlx6 y80oeVvlpCqnOXek3L+DQ8KheGWutfP/eG6KiFMbtSwlqrJx0YKqAMSRcRcr4lWh UO+WMlCo59KvqC0wXsQqwRGTznZRNKs/+5yCVhi3VE9tNDKyZuerQG1ParenJNw9 GdNxqaJSC2FTR+gVoxrgCm880pu7AqQJa4VdAglunhgfRFRfng+KBhLRoYdVTGr2 FJ4M2ZLQ/rYxqXRw3MEs2LBOAoUyX0s5yOmUmvzUJzySWE4OHWFd9KFR+I+4oI9g 5/0HW8WgAWmq1t14yvOcmkx/slEtFt41A997Cakvl6ZkNccawY2Npg5l9JxcwL2K mcG+6To6YU7JJ5RiH9Dk =i5Ya -----END PGP SIGNATURE----- Merge tag 'asoc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus A couple of small, driver specific fixes - nothing too exciting going on.
This commit is contained in:
commit
fe879e2f6d
|
@ -146,13 +146,10 @@ static const struct snd_kcontrol_new ak4642_snd_controls[] = {
|
|||
|
||||
SOC_DOUBLE_R_TLV("Digital Playback Volume", L_DVC, R_DVC,
|
||||
0, 0xFF, 1, out_tlv),
|
||||
|
||||
SOC_SINGLE("Headphone Switch", PW_MGMT2, 6, 1, 0),
|
||||
};
|
||||
|
||||
static const struct snd_kcontrol_new ak4642_hpout_mixer_controls[] = {
|
||||
SOC_DAPM_SINGLE("DACH", MD_CTL4, 0, 1, 0),
|
||||
};
|
||||
static const struct snd_kcontrol_new ak4642_headphone_control =
|
||||
SOC_DAPM_SINGLE("Switch", PW_MGMT2, 6, 1, 0);
|
||||
|
||||
static const struct snd_kcontrol_new ak4642_lout_mixer_controls[] = {
|
||||
SOC_DAPM_SINGLE("DACL", SG_SL1, 4, 1, 0),
|
||||
|
@ -165,13 +162,12 @@ static const struct snd_soc_dapm_widget ak4642_dapm_widgets[] = {
|
|||
SND_SOC_DAPM_OUTPUT("HPOUTR"),
|
||||
SND_SOC_DAPM_OUTPUT("LINEOUT"),
|
||||
|
||||
SND_SOC_DAPM_MIXER("HPOUTL Mixer", PW_MGMT2, 5, 0,
|
||||
&ak4642_hpout_mixer_controls[0],
|
||||
ARRAY_SIZE(ak4642_hpout_mixer_controls)),
|
||||
SND_SOC_DAPM_PGA("HPL Out", PW_MGMT2, 5, 0, NULL, 0),
|
||||
SND_SOC_DAPM_PGA("HPR Out", PW_MGMT2, 4, 0, NULL, 0),
|
||||
SND_SOC_DAPM_SWITCH("Headphone Enable", SND_SOC_NOPM, 0, 0,
|
||||
&ak4642_headphone_control),
|
||||
|
||||
SND_SOC_DAPM_MIXER("HPOUTR Mixer", PW_MGMT2, 4, 0,
|
||||
&ak4642_hpout_mixer_controls[0],
|
||||
ARRAY_SIZE(ak4642_hpout_mixer_controls)),
|
||||
SND_SOC_DAPM_PGA("DACH", MD_CTL4, 0, 0, NULL, 0),
|
||||
|
||||
SND_SOC_DAPM_MIXER("LINEOUT Mixer", PW_MGMT1, 3, 0,
|
||||
&ak4642_lout_mixer_controls[0],
|
||||
|
@ -184,12 +180,17 @@ static const struct snd_soc_dapm_widget ak4642_dapm_widgets[] = {
|
|||
static const struct snd_soc_dapm_route ak4642_intercon[] = {
|
||||
|
||||
/* Outputs */
|
||||
{"HPOUTL", NULL, "HPOUTL Mixer"},
|
||||
{"HPOUTR", NULL, "HPOUTR Mixer"},
|
||||
{"HPOUTL", NULL, "HPL Out"},
|
||||
{"HPOUTR", NULL, "HPR Out"},
|
||||
{"LINEOUT", NULL, "LINEOUT Mixer"},
|
||||
|
||||
{"HPOUTL Mixer", "DACH", "DAC"},
|
||||
{"HPOUTR Mixer", "DACH", "DAC"},
|
||||
{"HPL Out", NULL, "Headphone Enable"},
|
||||
{"HPR Out", NULL, "Headphone Enable"},
|
||||
|
||||
{"Headphone Enable", "Switch", "DACH"},
|
||||
|
||||
{"DACH", NULL, "DAC"},
|
||||
|
||||
{"LINEOUT Mixer", "DACL", "DAC"},
|
||||
};
|
||||
|
||||
|
|
|
@ -2564,7 +2564,7 @@ static int dsp2_event(struct snd_soc_dapm_widget *w,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const char *st_text[] = { "None", "Right", "Left" };
|
||||
static const char *st_text[] = { "None", "Left", "Right" };
|
||||
|
||||
static const struct soc_enum str_enum =
|
||||
SOC_ENUM_SINGLE(WM8962_DAC_DSP_MIXING_1, 2, 3, st_text);
|
||||
|
|
Loading…
Reference in New Issue
Block a user