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
30901860
Commit
30901860
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/si476x' into asoc-next
parents
d6abe0d5
ac0b82b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
sound/soc/codecs/si476x.c
sound/soc/codecs/si476x.c
+14
-0
No files found.
sound/soc/codecs/si476x.c
View file @
30901860
...
...
@@ -102,6 +102,16 @@ static int si476x_codec_write(struct snd_soc_codec *codec,
return
err
;
}
static
const
struct
snd_soc_dapm_widget
si476x_dapm_widgets
[]
=
{
SND_SOC_DAPM_OUTPUT
(
"LOUT"
),
SND_SOC_DAPM_OUTPUT
(
"ROUT"
),
};
static
const
struct
snd_soc_dapm_route
si476x_dapm_routes
[]
=
{
{
"Capture"
,
NULL
,
"LOUT"
},
{
"Capture"
,
NULL
,
"ROUT"
},
};
static
int
si476x_codec_set_dai_fmt
(
struct
snd_soc_dai
*
codec_dai
,
unsigned
int
fmt
)
{
...
...
@@ -260,6 +270,10 @@ static struct snd_soc_codec_driver soc_codec_dev_si476x = {
.
probe
=
si476x_codec_probe
,
.
read
=
si476x_codec_read
,
.
write
=
si476x_codec_write
,
.
dapm_widgets
=
si476x_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
si476x_dapm_widgets
),
.
dapm_routes
=
si476x_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
si476x_dapm_routes
),
};
static
int
si476x_platform_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