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
3e4ea1f9
Commit
3e4ea1f9
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/ak5386' into asoc-next
parents
e7dfdc1f
dcf1439a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
sound/soc/codecs/ak5386.c
sound/soc/codecs/ak5386.c
+16
-1
No files found.
sound/soc/codecs/ak5386.c
View file @
3e4ea1f9
...
...
@@ -22,7 +22,22 @@ struct ak5386_priv {
int
reset_gpio
;
};
static
struct
snd_soc_codec_driver
soc_codec_ak5386
;
static
const
struct
snd_soc_dapm_widget
ak5386_dapm_widgets
[]
=
{
SND_SOC_DAPM_INPUT
(
"AINL"
),
SND_SOC_DAPM_INPUT
(
"AINR"
),
};
static
const
struct
snd_soc_dapm_route
ak5386_dapm_routes
[]
=
{
{
"Capture"
,
NULL
,
"AINL"
},
{
"Capture"
,
NULL
,
"AINR"
},
};
static
struct
snd_soc_codec_driver
soc_codec_ak5386
=
{
.
dapm_widgets
=
ak5386_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
ak5386_dapm_widgets
),
.
dapm_routes
=
ak5386_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
ak5386_dapm_routes
),
};
static
int
ak5386_set_dai_fmt
(
struct
snd_soc_dai
*
codec_dai
,
unsigned
int
format
)
...
...
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