Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270568
b: refs/heads/master
c: 22be504
h: refs/heads/master
v: v3
  • Loading branch information
Lu Guanqun authored and Mark Brown committed Sep 8, 2011
1 parent 3d9ed76 commit 2aec83a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: c2f6fce33ed6146d0442b6ad8c8b827f507d3aec
refs/heads/master: 22be504aaa4a3133d81e3fb0c4287960aea19c37
7 changes: 4 additions & 3 deletions trunk/sound/soc/mid-x86/sst_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,14 @@ static int sst_platform_init_stream(struct snd_pcm_substream *substream)

static int sst_platform_open(struct snd_pcm_substream *substream)
{
struct snd_pcm_runtime *runtime;
struct snd_pcm_runtime *runtime = substream->runtime;
struct sst_runtime_stream *stream;
int ret_val = 0;

pr_debug("sst_platform_open called\n");
runtime = substream->runtime;
runtime->hw = sst_platform_pcm_hw;

snd_soc_set_runtime_hwparams(substream, &sst_platform_pcm_hw);

stream = kzalloc(sizeof(*stream), GFP_KERNEL);
if (!stream)
return -ENOMEM;
Expand Down

0 comments on commit 2aec83a

Please sign in to comment.