Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
54ac0450
Commit
54ac0450
authored
Aug 30, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/rt5640' into asoc-dapm
parents
2daabd78
868ead65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5640.c
+0
-26
No files found.
sound/soc/codecs/rt5640.c
View file @
54ac0450
...
@@ -737,29 +737,6 @@ static const struct snd_kcontrol_new rt5640_mono_mix[] = {
...
@@ -737,29 +737,6 @@ static const struct snd_kcontrol_new rt5640_mono_mix[] = {
RT5640_M_BST1_MM_SFT
,
1
,
1
),
RT5640_M_BST1_MM_SFT
,
1
,
1
),
};
};
/* INL/R source */
static
const
char
*
const
rt5640_inl_src
[]
=
{
"IN2P"
,
"MONOP"
};
static
const
SOC_ENUM_SINGLE_DECL
(
rt5640_inl_enum
,
RT5640_INL_INR_VOL
,
RT5640_INL_SEL_SFT
,
rt5640_inl_src
);
static
const
struct
snd_kcontrol_new
rt5640_inl_mux
=
SOC_DAPM_ENUM
(
"INL source"
,
rt5640_inl_enum
);
static
const
char
*
const
rt5640_inr_src
[]
=
{
"IN2N"
,
"MONON"
};
static
const
SOC_ENUM_SINGLE_DECL
(
rt5640_inr_enum
,
RT5640_INL_INR_VOL
,
RT5640_INR_SEL_SFT
,
rt5640_inr_src
);
static
const
struct
snd_kcontrol_new
rt5640_inr_mux
=
SOC_DAPM_ENUM
(
"INR source"
,
rt5640_inr_enum
);
/* Stereo ADC source */
/* Stereo ADC source */
static
const
char
*
const
rt5640_stereo_adc1_src
[]
=
{
static
const
char
*
const
rt5640_stereo_adc1_src
[]
=
{
"DIG MIX"
,
"ADC"
"DIG MIX"
,
"ADC"
...
@@ -1005,9 +982,6 @@ static const struct snd_soc_dapm_widget rt5640_dapm_widgets[] = {
...
@@ -1005,9 +982,6 @@ static const struct snd_soc_dapm_widget rt5640_dapm_widgets[] = {
RT5640_PWR_IN_L_BIT
,
0
,
NULL
,
0
),
RT5640_PWR_IN_L_BIT
,
0
,
NULL
,
0
),
SND_SOC_DAPM_PGA
(
"INR VOL"
,
RT5640_PWR_VOL
,
SND_SOC_DAPM_PGA
(
"INR VOL"
,
RT5640_PWR_VOL
,
RT5640_PWR_IN_R_BIT
,
0
,
NULL
,
0
),
RT5640_PWR_IN_R_BIT
,
0
,
NULL
,
0
),
/* IN Mux */
SND_SOC_DAPM_MUX
(
"INL Mux"
,
SND_SOC_NOPM
,
0
,
0
,
&
rt5640_inl_mux
),
SND_SOC_DAPM_MUX
(
"INR Mux"
,
SND_SOC_NOPM
,
0
,
0
,
&
rt5640_inr_mux
),
/* REC Mixer */
/* REC Mixer */
SND_SOC_DAPM_MIXER
(
"RECMIXL"
,
RT5640_PWR_MIXER
,
RT5640_PWR_RM_L_BIT
,
0
,
SND_SOC_DAPM_MIXER
(
"RECMIXL"
,
RT5640_PWR_MIXER
,
RT5640_PWR_RM_L_BIT
,
0
,
rt5640_rec_l_mix
,
ARRAY_SIZE
(
rt5640_rec_l_mix
)),
rt5640_rec_l_mix
,
ARRAY_SIZE
(
rt5640_rec_l_mix
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment