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
4a1ff03f
Commit
4a1ff03f
authored
Sep 29, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
195dee56
61ab0d40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
sound/soc/intel/atom/sst/sst_ipc.c
sound/soc/intel/atom/sst/sst_ipc.c
+3
-0
sound/soc/intel/atom/sst/sst_pvt.c
sound/soc/intel/atom/sst/sst_pvt.c
+6
-8
No files found.
sound/soc/intel/atom/sst/sst_ipc.c
View file @
4a1ff03f
...
...
@@ -267,6 +267,9 @@ static void process_fw_async_msg(struct intel_sst_drv *sst_drv_ctx,
"Period elapsed rcvd for pipe id 0x%x
\n
"
,
pipe_id
);
stream
=
&
sst_drv_ctx
->
streams
[
str_id
];
/* If stream is dropped, skip processing this message*/
if
(
stream
->
status
==
STREAM_INIT
)
break
;
if
(
stream
->
period_elapsed
)
stream
->
period_elapsed
(
stream
->
pcm_substream
);
if
(
stream
->
compr_cb
)
...
...
sound/soc/intel/atom/sst/sst_pvt.c
View file @
4a1ff03f
...
...
@@ -279,17 +279,15 @@ int sst_prepare_and_post_msg(struct intel_sst_drv *sst,
if
(
response
)
{
ret
=
sst_wait_timeout
(
sst
,
block
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
goto
out
;
}
else
if
(
block
->
data
)
{
if
(
!
data
)
goto
out
;
*
data
=
kzalloc
(
block
->
size
,
GFP_KERNEL
);
if
(
!
(
*
data
))
{
if
(
data
&&
block
->
data
)
{
*
data
=
kmemdup
(
block
->
data
,
block
->
size
,
GFP_KERNEL
);
if
(
!*
data
)
{
ret
=
-
ENOMEM
;
goto
out
;
}
else
memcpy
(
data
,
(
void
*
)
block
->
data
,
block
->
size
);
}
}
}
out:
...
...
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