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
042c325a
Commit
042c325a
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/ad73311' into asoc-next
parents
f14c6f97
ae48f5ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
MAINTAINERS
MAINTAINERS
+1
-0
sound/soc/codecs/ad73311.c
sound/soc/codecs/ad73311.c
+21
-1
No files found.
MAINTAINERS
View file @
042c325a
...
...
@@ -595,6 +595,7 @@ S: Supported
F: sound/soc/codecs/adau*
F: sound/soc/codecs/adav*
F: sound/soc/codecs/ad1*
F: sound/soc/codecs/ad7*
F: sound/soc/codecs/ssm*
F: sound/soc/codecs/sigmadsp.*
...
...
sound/soc/codecs/ad73311.c
View file @
042c325a
...
...
@@ -23,6 +23,21 @@
#include "ad73311.h"
static
const
struct
snd_soc_dapm_widget
ad73311_dapm_widgets
[]
=
{
SND_SOC_DAPM_INPUT
(
"VINP"
),
SND_SOC_DAPM_INPUT
(
"VINN"
),
SND_SOC_DAPM_OUTPUT
(
"VOUTN"
),
SND_SOC_DAPM_OUTPUT
(
"VOUTP"
),
};
static
const
struct
snd_soc_dapm_route
ad73311_dapm_routes
[]
=
{
{
"Capture"
,
NULL
,
"VINP"
},
{
"Capture"
,
NULL
,
"VINN"
},
{
"VOUTN"
,
NULL
,
"Playback"
},
{
"VOUTP"
,
NULL
,
"Playback"
},
};
static
struct
snd_soc_dai_driver
ad73311_dai
=
{
.
name
=
"ad73311-hifi"
,
.
playback
=
{
...
...
@@ -39,7 +54,12 @@ static struct snd_soc_dai_driver ad73311_dai = {
.
formats
=
SNDRV_PCM_FMTBIT_S16_LE
,
},
};
static
struct
snd_soc_codec_driver
soc_codec_dev_ad73311
;
static
struct
snd_soc_codec_driver
soc_codec_dev_ad73311
=
{
.
dapm_widgets
=
ad73311_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
ad73311_dapm_widgets
),
.
dapm_routes
=
ad73311_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
ad73311_dapm_routes
),
};
static
int
ad73311_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