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
faeede8c
Commit
faeede8c
authored
Apr 08, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.39' into for-2.6.40
parents
b39e2855
1b877cb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
15 deletions
+23
-15
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8903.c
+23
-15
No files found.
sound/soc/codecs/wm8903.c
View file @
faeede8c
...
@@ -247,8 +247,6 @@ static int wm8903_volatile_register(struct snd_soc_codec *codec, unsigned int re
...
@@ -247,8 +247,6 @@ static int wm8903_volatile_register(struct snd_soc_codec *codec, unsigned int re
case
WM8903_REVISION_NUMBER
:
case
WM8903_REVISION_NUMBER
:
case
WM8903_INTERRUPT_STATUS_1
:
case
WM8903_INTERRUPT_STATUS_1
:
case
WM8903_WRITE_SEQUENCER_4
:
case
WM8903_WRITE_SEQUENCER_4
:
case
WM8903_POWER_MANAGEMENT_3
:
case
WM8903_POWER_MANAGEMENT_2
:
case
WM8903_DC_SERVO_READBACK_1
:
case
WM8903_DC_SERVO_READBACK_1
:
case
WM8903_DC_SERVO_READBACK_2
:
case
WM8903_DC_SERVO_READBACK_2
:
case
WM8903_DC_SERVO_READBACK_3
:
case
WM8903_DC_SERVO_READBACK_3
:
...
@@ -875,34 +873,40 @@ SND_SOC_DAPM_MIXER("Left Speaker Mixer", WM8903_POWER_MANAGEMENT_4, 1, 0,
...
@@ -875,34 +873,40 @@ SND_SOC_DAPM_MIXER("Left Speaker Mixer", WM8903_POWER_MANAGEMENT_4, 1, 0,
SND_SOC_DAPM_MIXER
(
"Right Speaker Mixer"
,
WM8903_POWER_MANAGEMENT_4
,
0
,
0
,
SND_SOC_DAPM_MIXER
(
"Right Speaker Mixer"
,
WM8903_POWER_MANAGEMENT_4
,
0
,
0
,
right_speaker_mixer
,
ARRAY_SIZE
(
right_speaker_mixer
)),
right_speaker_mixer
,
ARRAY_SIZE
(
right_speaker_mixer
)),
SND_SOC_DAPM_PGA_S
(
"Left Headphone Output PGA"
,
0
,
WM8903_
ANALOGUE_HP_0
,
SND_SOC_DAPM_PGA_S
(
"Left Headphone Output PGA"
,
0
,
WM8903_
POWER_MANAGEMENT_2
,
4
,
0
,
NULL
,
0
),
1
,
0
,
NULL
,
0
),
SND_SOC_DAPM_PGA_S
(
"Right Headphone Output PGA"
,
0
,
WM8903_
ANALOGUE_HP_0
,
SND_SOC_DAPM_PGA_S
(
"Right Headphone Output PGA"
,
0
,
WM8903_
POWER_MANAGEMENT_2
,
0
,
0
,
NULL
,
0
),
0
,
0
,
NULL
,
0
),
SND_SOC_DAPM_PGA_S
(
"Left Line Output PGA"
,
0
,
WM8903_
ANALOGUE_LINEOUT_0
,
4
,
0
,
SND_SOC_DAPM_PGA_S
(
"Left Line Output PGA"
,
0
,
WM8903_
POWER_MANAGEMENT_3
,
1
,
0
,
NULL
,
0
),
NULL
,
0
),
SND_SOC_DAPM_PGA_S
(
"Right Line Output PGA"
,
0
,
WM8903_
ANALOGUE_LINEOUT_0
,
0
,
0
,
SND_SOC_DAPM_PGA_S
(
"Right Line Output PGA"
,
0
,
WM8903_
POWER_MANAGEMENT_3
,
0
,
0
,
NULL
,
0
),
NULL
,
0
),
SND_SOC_DAPM_PGA_S
(
"HPL_RMV_SHORT"
,
4
,
WM8903_ANALOGUE_HP_0
,
7
,
0
,
NULL
,
0
),
SND_SOC_DAPM_PGA_S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TR_ENA_DLY"
,
2
,
WM8903_ANALOGUE_LINEOUT_0
,
1
,
0
,
NULL
,
0
),
SND_SOC_DAPM_PGA_S
(
"LINEOUTR_ENA"
,
1
,
WM8903_ANALOGUE_LINEOUT_0
,
0
,
0
,
NULL
,
0
),
NULL
,
0
),
SND_SOC_DAPM_SUPPLY
(
"DCS Master"
,
WM8903_DC_SERVO_0
,
4
,
0
,
NULL
,
0
),
SND_SOC_DAPM_SUPPLY
(
"DCS Master"
,
WM8903_DC_SERVO_0
,
4
,
0
,
NULL
,
0
),
...
@@ -1037,10 +1041,14 @@ static const struct snd_soc_dapm_route wm8903_intercon[] = {
...
@@ -1037,10 +1041,14 @@ static const struct snd_soc_dapm_route wm8903_intercon[] = {
{
"Left Speaker PGA"
,
NULL
,
"Left Speaker Mixer"
},
{
"Left Speaker PGA"
,
NULL
,
"Left Speaker Mixer"
},
{
"Right Speaker PGA"
,
NULL
,
"Right Speaker Mixer"
},
{
"Right Speaker PGA"
,
NULL
,
"Right Speaker Mixer"
},
{
"HPL_ENA_DLY"
,
NULL
,
"Left Headphone Output PGA"
},
{
"HPL_ENA"
,
NULL
,
"Left Headphone Output PGA"
},
{
"HPR_ENA_DLY"
,
NULL
,
"Right Headphone Output PGA"
},
{
"HPR_ENA"
,
NULL
,
"Right Headphone Output PGA"
},
{
"LINEOUTL_ENA_DLY"
,
NULL
,
"Left Line Output PGA"
},
{
"HPL_ENA_DLY"
,
NULL
,
"HPL_ENA"
},
{
"LINEOUTR_ENA_DLY"
,
NULL
,
"Right Line Output PGA"
},
{
"HPR_ENA_DLY"
,
NULL
,
"HPR_ENA"
},
{
"LINEOUTL_ENA"
,
NULL
,
"Left Line Output PGA"
},
{
"LINEOUTR_ENA"
,
NULL
,
"Right Line Output PGA"
},
{
"LINEOUTL_ENA_DLY"
,
NULL
,
"LINEOUTL_ENA"
},
{
"LINEOUTR_ENA_DLY"
,
NULL
,
"LINEOUTR_ENA"
},
{
"HPL_DCS"
,
NULL
,
"DCS Master"
},
{
"HPL_DCS"
,
NULL
,
"DCS Master"
},
{
"HPR_DCS"
,
NULL
,
"DCS Master"
},
{
"HPR_DCS"
,
NULL
,
"DCS Master"
},
...
...
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