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
1518eb0a
Commit
1518eb0a
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wl1273' into asoc-next
parents
13682338
e29deb48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
sound/soc/codecs/wl1273.c
sound/soc/codecs/wl1273.c
+17
-0
No files found.
sound/soc/codecs/wl1273.c
View file @
1518eb0a
...
...
@@ -290,6 +290,18 @@ static const struct snd_kcontrol_new wl1273_controls[] = {
snd_wl1273_fm_volume_get
,
snd_wl1273_fm_volume_put
),
};
static
const
struct
snd_soc_dapm_widget
wl1273_dapm_widgets
[]
=
{
SND_SOC_DAPM_INPUT
(
"RX"
),
SND_SOC_DAPM_OUTPUT
(
"TX"
),
};
static
const
struct
snd_soc_dapm_route
wl1273_dapm_routes
[]
=
{
{
"Capture"
,
NULL
,
"RX"
},
{
"TX"
,
NULL
,
"Playback"
},
};
static
int
wl1273_startup
(
struct
snd_pcm_substream
*
substream
,
struct
snd_soc_dai
*
dai
)
{
...
...
@@ -483,6 +495,11 @@ static int wl1273_remove(struct snd_soc_codec *codec)
static
struct
snd_soc_codec_driver
soc_codec_dev_wl1273
=
{
.
probe
=
wl1273_probe
,
.
remove
=
wl1273_remove
,
.
dapm_widgets
=
wl1273_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
wl1273_dapm_widgets
),
.
dapm_routes
=
wl1273_dapm_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
wl1273_dapm_routes
),
};
static
int
wl1273_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