Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170121
b: refs/heads/master
c: cf5bd65
h: refs/heads/master
i:
  170119: be8c4d7
v: v3
  • Loading branch information
Takashi Iwai committed Dec 1, 2009
1 parent dc14e81 commit f0c0892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: e0feefc70c1bb3f51aa9bb42acfd22cd7472a5d9
refs/heads/master: cf5bd652c384cf58544f43bea097bbc9cf14e4f5
12 changes: 3 additions & 9 deletions trunk/sound/arm/aaci.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,15 +511,9 @@ static int aaci_pcm_hw_params(struct snd_pcm_substream *substream,
if (err < 0)
goto out;

if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
params_channels(params),
aacirun->pcm->r[0].slots);
else
err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
params_channels(params),
aacirun->pcm->r[0].slots);

err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
params_channels(params),
aacirun->pcm->r[0].slots);
if (err)
goto out;

Expand Down

0 comments on commit f0c0892

Please sign in to comment.