Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206686
b: refs/heads/master
c: 68bf570
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Takashi Iwai committed Jul 19, 2010
1 parent 9113779 commit dec54e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b6d092c8eeeb43893503afd2f6c1c67ceafc863
refs/heads/master: 68bf57001f4995a25ca65f3711ff05b6ea25e8b6
6 changes: 6 additions & 0 deletions trunk/sound/pci/riptide/riptide.c
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,10 @@ static int snd_riptide_playback_open(struct snd_pcm_substream *substream)

chip->playback_substream[sub_num] = substream;
runtime->hw = snd_riptide_playback;

data = kzalloc(sizeof(struct pcmhw), GFP_KERNEL);
if (data == NULL)
return -ENOMEM;
data->paths = lbus_play_paths[sub_num];
data->id = play_ids[sub_num];
data->source = play_sources[sub_num];
Expand All @@ -1635,7 +1638,10 @@ static int snd_riptide_capture_open(struct snd_pcm_substream *substream)

chip->capture_substream = substream;
runtime->hw = snd_riptide_capture;

data = kzalloc(sizeof(struct pcmhw), GFP_KERNEL);
if (data == NULL)
return -ENOMEM;
data->paths = lbus_rec_path;
data->id = PADC;
data->source = ACLNK2PADC;
Expand Down

0 comments on commit dec54e4

Please sign in to comment.