Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92140
b: refs/heads/master
c: b32300a
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Takashi Iwai committed Apr 24, 2008
1 parent 547c308 commit 26032cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 43337ac0dec5fe507b3028d2ad4404c3f1a28034
refs/heads/master: b32300a4ce78b4df92f33c455ffe644b36f0ff1a
3 changes: 0 additions & 3 deletions trunk/sound/pci/pcxhr/pcxhr.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,6 @@ static int pcxhr_open(struct snd_pcm_substream *subs)
struct pcxhr_mgr *mgr = chip->mgr;
struct snd_pcm_runtime *runtime = subs->runtime;
struct pcxhr_stream *stream;
int is_capture;

mutex_lock(&mgr->setup_mutex);

Expand All @@ -856,12 +855,10 @@ static int pcxhr_open(struct snd_pcm_substream *subs)
if( subs->stream == SNDRV_PCM_STREAM_PLAYBACK ) {
snd_printdd("pcxhr_open playback chip%d subs%d\n",
chip->chip_idx, subs->number);
is_capture = 0;
stream = &chip->playback_stream[subs->number];
} else {
snd_printdd("pcxhr_open capture chip%d subs%d\n",
chip->chip_idx, subs->number);
is_capture = 1;
if (mgr->mono_capture)
runtime->hw.channels_max = 1;
else
Expand Down

0 comments on commit 26032cc

Please sign in to comment.