Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249084
b: refs/heads/master
c: 48c59f4
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Apr 20, 2011
1 parent 4b7d764 commit def82e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60d5c9f5b6a2f5ce09712b7f7d0b0bf979a150be
refs/heads/master: 48c59f4b915caf4007e6d5a1f34b10fe10210b72
8 changes: 4 additions & 4 deletions trunk/drivers/staging/intel_sst/intel_sst_app_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,6 @@ static int snd_sst_fill_kernel_list(struct stream_info *stream,
static int sent_offset;
static unsigned long sent_index;

stream_bufs = kzalloc(sizeof(*stream_bufs), GFP_KERNEL);
if (!stream_bufs)
return -ENOMEM;
stream_bufs->addr = sst_drv_ctx->mmap_mem;
#ifdef CONFIG_MRST_RAR_HANDLER
if (stream->ops == STREAM_OPS_PLAYBACK_DRM) {
for (index = stream->sg_index; index < nr_segs; index++) {
Expand All @@ -448,6 +444,10 @@ static int snd_sst_fill_kernel_list(struct stream_info *stream,
return retval;
}
#endif
stream_bufs = kzalloc(sizeof(*stream_bufs), GFP_KERNEL);
if (!stream_bufs)
return -ENOMEM;
stream_bufs->addr = sst_drv_ctx->mmap_mem;
mmap_len = sst_drv_ctx->mmap_len;
stream_bufs->addr = sst_drv_ctx->mmap_mem;
bufp = stream->cur_ptr;
Expand Down

0 comments on commit def82e4

Please sign in to comment.