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
a1916ff3
Commit
a1916ff3
authored
Jan 11, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/pcm-list' into asoc-next
parents
2dd49f8e
f2ed6b07
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
180 additions
and
106 deletions
+180
-106
include/sound/soc-dai.h
include/sound/soc-dai.h
+1
-0
include/sound/soc.h
include/sound/soc.h
+9
-2
sound/soc/soc-core.c
sound/soc/soc-core.c
+170
-104
No files found.
include/sound/soc-dai.h
View file @
a1916ff3
...
...
@@ -222,6 +222,7 @@ struct snd_soc_dai_driver {
const
char
*
name
;
unsigned
int
id
;
unsigned
int
base
;
struct
snd_soc_dobj
dobj
;
/* DAI driver callbacks */
int
(
*
probe
)(
struct
snd_soc_dai
*
dai
);
...
...
include/sound/soc.h
View file @
a1916ff3
...
...
@@ -798,6 +798,7 @@ struct snd_soc_component {
unsigned
int
registered_as_component
:
1
;
struct
list_head
list
;
struct
list_head
list_aux
;
/* for auxiliary component of the card */
struct
snd_soc_dai_driver
*
dai_drv
;
int
num_dai
;
...
...
@@ -841,6 +842,9 @@ struct snd_soc_component {
int
(
*
probe
)(
struct
snd_soc_component
*
);
void
(
*
remove
)(
struct
snd_soc_component
*
);
/* machine specific init */
int
(
*
init
)(
struct
snd_soc_component
*
component
);
#ifdef CONFIG_DEBUG_FS
void
(
*
init_debugfs
)(
struct
snd_soc_component
*
component
);
const
char
*
debugfs_prefix
;
...
...
@@ -1141,8 +1145,7 @@ struct snd_soc_card {
*/
struct
snd_soc_aux_dev
*
aux_dev
;
int
num_aux_devs
;
struct
snd_soc_pcm_runtime
*
rtd_aux
;
int
num_aux_rtd
;
struct
list_head
aux_comp_list
;
const
struct
snd_kcontrol_new
*
controls
;
int
num_controls
;
...
...
@@ -1550,6 +1553,7 @@ static inline void snd_soc_initialize_card_lists(struct snd_soc_card *card)
INIT_LIST_HEAD
(
&
card
->
widgets
);
INIT_LIST_HEAD
(
&
card
->
paths
);
INIT_LIST_HEAD
(
&
card
->
dapm_list
);
INIT_LIST_HEAD
(
&
card
->
aux_comp_list
);
}
static
inline
bool
snd_soc_volsw_is_stereo
(
struct
soc_mixer_control
*
mc
)
...
...
@@ -1676,6 +1680,9 @@ int snd_soc_add_dai_link(struct snd_soc_card *card,
void
snd_soc_remove_dai_link
(
struct
snd_soc_card
*
card
,
struct
snd_soc_dai_link
*
dai_link
);
int
snd_soc_register_dai
(
struct
snd_soc_component
*
component
,
struct
snd_soc_dai_driver
*
dai_drv
);
#include <sound/soc-dai.h>
#ifdef CONFIG_DEBUG_FS
...
...
sound/soc/soc-core.c
View file @
a1916ff3
This diff is collapsed.
Click to expand it.
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