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
1179ace1
Commit
1179ace1
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm8782' into asoc-next
parents
a2e4b255
226059e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
sound/soc/codecs/wm8782.c
sound/soc/codecs/wm8782.c
+16
-1
No files found.
sound/soc/codecs/wm8782.c
View file @
1179ace1
...
...
@@ -26,6 +26,16 @@
#include <sound/initval.h>
#include <sound/soc.h>
static
const
struct
snd_soc_dapm_widget
wm8782_dapm_widgets
[]
=
{
SND_SOC_DAPM_INPUT
(
"AINL"
),
SND_SOC_DAPM_INPUT
(
"AINR"
),
};
static
const
struct
snd_soc_dapm_route
wm8782_dapm_routes
[]
=
{
{
"Capture"
,
NULL
,
"AINL"
},
{
"Capture"
,
NULL
,
"AINR"
},
};
static
struct
snd_soc_dai_driver
wm8782_dai
=
{
.
name
=
"wm8782"
,
.
capture
=
{
...
...
@@ -40,7 +50,12 @@ static struct snd_soc_dai_driver wm8782_dai = {
},
};
static
struct
snd_soc_codec_driver
soc_codec_dev_wm8782
;
static
struct
snd_soc_codec_driver
soc_codec_dev_wm8782
=
{
.
dapm_widgets
=
wm8782_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8782_dapm_widgets
),
.
dapm_routes
=
wm8782_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
wm8782_dapm_routes
),
};
static
int
wm8782_probe
(
struct
platform_device
*
pdev
)
{
...
...
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