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
4d631a0b
Commit
4d631a0b
authored
Feb 11, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/adsp' into asoc-next
parents
836dc9e3
2d30b575
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.c
+11
-3
No files found.
sound/soc/codecs/wm_adsp.c
View file @
4d631a0b
...
...
@@ -103,9 +103,12 @@
#define ADSP1_START_SHIFT 0
/* DSP1_START */
#define ADSP1_START_WIDTH 1
/* DSP1_START */
#define ADSP2_CONTROL 0
#define ADSP2_CLOCKING 1
#define ADSP2_STATUS1 4
#define ADSP2_CONTROL 0x0
#define ADSP2_CLOCKING 0x1
#define ADSP2_STATUS1 0x4
#define ADSP2_WDMA_CONFIG_1 0x30
#define ADSP2_WDMA_CONFIG_2 0x31
#define ADSP2_RDMA_CONFIG_1 0x34
/*
* ADSP2 Control
...
...
@@ -642,6 +645,11 @@ int wm_adsp2_event(struct snd_soc_dapm_widget *w,
ADSP2_SYS_ENA
|
ADSP2_CORE_ENA
|
ADSP2_START
,
0
);
/* Make sure DMAs are quiesced */
regmap_write
(
dsp
->
regmap
,
dsp
->
base
+
ADSP2_WDMA_CONFIG_1
,
0
);
regmap_write
(
dsp
->
regmap
,
dsp
->
base
+
ADSP2_WDMA_CONFIG_2
,
0
);
regmap_write
(
dsp
->
regmap
,
dsp
->
base
+
ADSP2_RDMA_CONFIG_1
,
0
);
if
(
dsp
->
dvfs
)
{
ret
=
regulator_set_voltage
(
dsp
->
dvfs
,
1200000
,
1800000
);
...
...
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