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
Kirill Smelkov
linux
Commits
bbb2b682
Commit
bbb2b682
authored
May 10, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/asoc' into for-linus
* fix/asoc: ASoC: Fix errors in WM8990
parents
b40814b8
97a775c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
sound/soc/codecs/wm8990.c
sound/soc/codecs/wm8990.c
+20
-20
No files found.
sound/soc/codecs/wm8990.c
View file @
bbb2b682
...
@@ -729,7 +729,7 @@ SND_SOC_DAPM_MIXER_E("INMIXL", WM8990_INTDRIVBITS, WM8990_INMIXL_PWR_BIT, 0,
...
@@ -729,7 +729,7 @@ SND_SOC_DAPM_MIXER_E("INMIXL", WM8990_INTDRIVBITS, WM8990_INMIXL_PWR_BIT, 0,
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
/* AINLMUX */
/* AINLMUX */
SND_SOC_DAPM_MUX_E
(
"AI
LN
MUX"
,
WM8990_INTDRIVBITS
,
WM8990_AINLMUX_PWR_BIT
,
0
,
SND_SOC_DAPM_MUX_E
(
"AI
NL
MUX"
,
WM8990_INTDRIVBITS
,
WM8990_AINLMUX_PWR_BIT
,
0
,
&
wm8990_dapm_ainlmux_controls
,
inmixer_event
,
&
wm8990_dapm_ainlmux_controls
,
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
...
@@ -740,7 +740,7 @@ SND_SOC_DAPM_MIXER_E("INMIXR", WM8990_INTDRIVBITS, WM8990_INMIXR_PWR_BIT, 0,
...
@@ -740,7 +740,7 @@ SND_SOC_DAPM_MIXER_E("INMIXR", WM8990_INTDRIVBITS, WM8990_INMIXR_PWR_BIT, 0,
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
/* AINRMUX */
/* AINRMUX */
SND_SOC_DAPM_MUX_E
(
"AI
RN
MUX"
,
WM8990_INTDRIVBITS
,
WM8990_AINRMUX_PWR_BIT
,
0
,
SND_SOC_DAPM_MUX_E
(
"AI
NR
MUX"
,
WM8990_INTDRIVBITS
,
WM8990_AINRMUX_PWR_BIT
,
0
,
&
wm8990_dapm_ainrmux_controls
,
inmixer_event
,
&
wm8990_dapm_ainrmux_controls
,
inmixer_event
,
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
SND_SOC_DAPM_POST_PMU
|
SND_SOC_DAPM_POST_PMD
),
...
@@ -848,40 +848,40 @@ static const struct snd_soc_dapm_route audio_map[] = {
...
@@ -848,40 +848,40 @@ static const struct snd_soc_dapm_route audio_map[] = {
{
"LIN12 PGA"
,
"LIN2 Switch"
,
"LIN2"
},
{
"LIN12 PGA"
,
"LIN2 Switch"
,
"LIN2"
},
/* LIN34 PGA */
/* LIN34 PGA */
{
"LIN34 PGA"
,
"LIN3 Switch"
,
"LIN3"
},
{
"LIN34 PGA"
,
"LIN3 Switch"
,
"LIN3"
},
{
"LIN34 PGA"
,
"LIN4 Switch"
,
"LIN4"
},
{
"LIN34 PGA"
,
"LIN4 Switch"
,
"LIN4
/RXN
"
},
/* INMIXL */
/* INMIXL */
{
"INMIXL"
,
"Record Left Volume"
,
"LOMIX"
},
{
"INMIXL"
,
"Record Left Volume"
,
"LOMIX"
},
{
"INMIXL"
,
"LIN2 Volume"
,
"LIN2"
},
{
"INMIXL"
,
"LIN2 Volume"
,
"LIN2"
},
{
"INMIXL"
,
"LINPGA12 Switch"
,
"LIN12 PGA"
},
{
"INMIXL"
,
"LINPGA12 Switch"
,
"LIN12 PGA"
},
{
"INMIXL"
,
"LINPGA34 Switch"
,
"LIN34 PGA"
},
{
"INMIXL"
,
"LINPGA34 Switch"
,
"LIN34 PGA"
},
/* AI
LN
MUX */
/* AI
NL
MUX */
{
"AI
LN
MUX"
,
"INMIXL Mix"
,
"INMIXL"
},
{
"AI
NL
MUX"
,
"INMIXL Mix"
,
"INMIXL"
},
{
"AI
LNMUX"
,
"DIFFINL Mix"
,
"LIN12
PGA"
},
{
"AI
NLMUX"
,
"DIFFINL Mix"
,
"LIN12
PGA"
},
{
"AI
LNMUX"
,
"DIFFINL Mix"
,
"LIN34
PGA"
},
{
"AI
NLMUX"
,
"DIFFINL Mix"
,
"LIN34
PGA"
},
{
"AI
LN
MUX"
,
"RXVOICE Mix"
,
"LIN4/RXN"
},
{
"AI
NL
MUX"
,
"RXVOICE Mix"
,
"LIN4/RXN"
},
{
"AI
LN
MUX"
,
"RXVOICE Mix"
,
"RIN4/RXP"
},
{
"AI
NL
MUX"
,
"RXVOICE Mix"
,
"RIN4/RXP"
},
/* ADC */
/* ADC */
{
"Left ADC"
,
NULL
,
"AI
LN
MUX"
},
{
"Left ADC"
,
NULL
,
"AI
NL
MUX"
},
/* RIN12 PGA */
/* RIN12 PGA */
{
"RIN12 PGA"
,
"RIN1 Switch"
,
"RIN1"
},
{
"RIN12 PGA"
,
"RIN1 Switch"
,
"RIN1"
},
{
"RIN12 PGA"
,
"RIN2 Switch"
,
"RIN2"
},
{
"RIN12 PGA"
,
"RIN2 Switch"
,
"RIN2"
},
/* RIN34 PGA */
/* RIN34 PGA */
{
"RIN34 PGA"
,
"RIN3 Switch"
,
"RIN3"
},
{
"RIN34 PGA"
,
"RIN3 Switch"
,
"RIN3"
},
{
"RIN34 PGA"
,
"RIN4 Switch"
,
"RIN4"
},
{
"RIN34 PGA"
,
"RIN4 Switch"
,
"RIN4
/RXP
"
},
/* INMIXL */
/* INMIXL */
{
"INMIXR"
,
"Record Right Volume"
,
"ROMIX"
},
{
"INMIXR"
,
"Record Right Volume"
,
"ROMIX"
},
{
"INMIXR"
,
"RIN2 Volume"
,
"RIN2"
},
{
"INMIXR"
,
"RIN2 Volume"
,
"RIN2"
},
{
"INMIXR"
,
"RINPGA12 Switch"
,
"RIN12 PGA"
},
{
"INMIXR"
,
"RINPGA12 Switch"
,
"RIN12 PGA"
},
{
"INMIXR"
,
"RINPGA34 Switch"
,
"RIN34 PGA"
},
{
"INMIXR"
,
"RINPGA34 Switch"
,
"RIN34 PGA"
},
/* AI
RN
MUX */
/* AI
NR
MUX */
{
"AI
RN
MUX"
,
"INMIXR Mix"
,
"INMIXR"
},
{
"AI
NR
MUX"
,
"INMIXR Mix"
,
"INMIXR"
},
{
"AI
RNMUX"
,
"DIFFINR Mix"
,
"RIN12
PGA"
},
{
"AI
NRMUX"
,
"DIFFINR Mix"
,
"RIN12
PGA"
},
{
"AI
RNMUX"
,
"DIFFINR Mix"
,
"RIN34
PGA"
},
{
"AI
NRMUX"
,
"DIFFINR Mix"
,
"RIN34
PGA"
},
{
"AI
RNMUX"
,
"RXVOICE Mix"
,
"R
IN4/RXN"
},
{
"AI
NRMUX"
,
"RXVOICE Mix"
,
"L
IN4/RXN"
},
{
"AI
RN
MUX"
,
"RXVOICE Mix"
,
"RIN4/RXP"
},
{
"AI
NR
MUX"
,
"RXVOICE Mix"
,
"RIN4/RXP"
},
/* ADC */
/* ADC */
{
"Right ADC"
,
NULL
,
"AI
RN
MUX"
},
{
"Right ADC"
,
NULL
,
"AI
NR
MUX"
},
/* LOMIX */
/* LOMIX */
{
"LOMIX"
,
"LOMIX RIN3 Bypass Switch"
,
"RIN3"
},
{
"LOMIX"
,
"LOMIX RIN3 Bypass Switch"
,
"RIN3"
},
...
@@ -922,7 +922,7 @@ static const struct snd_soc_dapm_route audio_map[] = {
...
@@ -922,7 +922,7 @@ static const struct snd_soc_dapm_route audio_map[] = {
{
"LOPMIX"
,
"LOPMIX Left Mixer PGA Switch"
,
"LOPGA"
},
{
"LOPMIX"
,
"LOPMIX Left Mixer PGA Switch"
,
"LOPGA"
},
/* OUT3MIX */
/* OUT3MIX */
{
"OUT3MIX"
,
"OUT3MIX LIN4/RXP Bypass Switch"
,
"LIN4/RX
P
"
},
{
"OUT3MIX"
,
"OUT3MIX LIN4/RXP Bypass Switch"
,
"LIN4/RX
N
"
},
{
"OUT3MIX"
,
"OUT3MIX Left Out PGA Switch"
,
"LOPGA"
},
{
"OUT3MIX"
,
"OUT3MIX Left Out PGA Switch"
,
"LOPGA"
},
/* OUT4MIX */
/* OUT4MIX */
...
@@ -949,7 +949,7 @@ static const struct snd_soc_dapm_route audio_map[] = {
...
@@ -949,7 +949,7 @@ static const struct snd_soc_dapm_route audio_map[] = {
/* Output Pins */
/* Output Pins */
{
"LON"
,
NULL
,
"LONMIX"
},
{
"LON"
,
NULL
,
"LONMIX"
},
{
"LOP"
,
NULL
,
"LOPMIX"
},
{
"LOP"
,
NULL
,
"LOPMIX"
},
{
"OUT"
,
NULL
,
"OUT3MIX"
},
{
"OUT
3
"
,
NULL
,
"OUT3MIX"
},
{
"LOUT"
,
NULL
,
"LOUT PGA"
},
{
"LOUT"
,
NULL
,
"LOUT PGA"
},
{
"SPKN"
,
NULL
,
"SPKMIX"
},
{
"SPKN"
,
NULL
,
"SPKMIX"
},
{
"ROUT"
,
NULL
,
"ROUT PGA"
},
{
"ROUT"
,
NULL
,
"ROUT PGA"
},
...
...
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