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
ab4f0935
Commit
ab4f0935
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm8727' into asoc-next
parents
2cb852b5
72a061f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
sound/soc/codecs/wm8727.c
sound/soc/codecs/wm8727.c
+16
-1
No files found.
sound/soc/codecs/wm8727.c
View file @
ab4f0935
...
...
@@ -23,6 +23,16 @@
#include <sound/initval.h>
#include <sound/soc.h>
static
const
struct
snd_soc_dapm_widget
wm8727_dapm_widgets
[]
=
{
SND_SOC_DAPM_OUTPUT
(
"VOUTL"
),
SND_SOC_DAPM_OUTPUT
(
"VOUTR"
),
};
static
const
struct
snd_soc_dapm_route
wm8727_dapm_routes
[]
=
{
{
"VOUTL"
,
NULL
,
"Playback"
},
{
"VOUTR"
,
NULL
,
"Playback"
},
};
/*
* Note this is a simple chip with no configuration interface, sample rate is
* determined automatically by examining the Master clock and Bit clock ratios
...
...
@@ -43,7 +53,12 @@ static struct snd_soc_dai_driver wm8727_dai = {
},
};
static
struct
snd_soc_codec_driver
soc_codec_dev_wm8727
;
static
struct
snd_soc_codec_driver
soc_codec_dev_wm8727
=
{
.
dapm_widgets
=
wm8727_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8727_dapm_widgets
),
.
dapm_routes
=
wm8727_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
wm8727_dapm_routes
),
};
static
int
wm8727_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