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
5e7a7a22
Commit
5e7a7a22
authored
Jan 16, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: wm_adsp: Add initialisation function for ADSP1
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
1023dbd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.c
+8
-0
sound/soc/codecs/wm_adsp.h
sound/soc/codecs/wm_adsp.h
+1
-0
No files found.
sound/soc/codecs/wm_adsp.c
View file @
5e7a7a22
...
...
@@ -780,6 +780,14 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
return
0
;
}
int
wm_adsp1_init
(
struct
wm_adsp
*
adsp
)
{
INIT_LIST_HEAD
(
&
adsp
->
alg_regions
);
return
0
;
}
EXPORT_SYMBOL_GPL
(
wm_adsp1_init
);
int
wm_adsp1_event
(
struct
snd_soc_dapm_widget
*
w
,
struct
snd_kcontrol
*
kcontrol
,
int
event
)
...
...
sound/soc/codecs/wm_adsp.h
View file @
5e7a7a22
...
...
@@ -64,6 +64,7 @@ struct wm_adsp {
extern
const
struct
snd_kcontrol_new
wm_adsp_fw_controls
[];
int
wm_adsp1_init
(
struct
wm_adsp
*
adsp
);
int
wm_adsp2_init
(
struct
wm_adsp
*
adsp
,
bool
dvfs
);
int
wm_adsp1_event
(
struct
snd_soc_dapm_widget
*
w
,
struct
snd_kcontrol
*
kcontrol
,
int
event
);
...
...
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