Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133215
b: refs/heads/master
c: eab2b55
h: refs/heads/master
i:
  133213: 7d7666b
  133211: 76a1380
  133207: 9d01c3a
  133199: 691da16
  133183: 8cd0a13
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Mar 2, 2009
1 parent f842276 commit cdb2994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f3990e610a157e9c36af85a75bc66260dff31f40
refs/heads/master: eab2b553c3d3ed20698c4a9c7e049a60b804e2f5
4 changes: 2 additions & 2 deletions trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ static int check_hw_params_convention(struct snd_usb_substream *subs)
if (rates[f->format] && rates[f->format] != f->rates)
goto __out;
}
channels[f->format] |= (1 << f->channels);
channels[f->format] |= 1 << (f->channels - 1);
rates[f->format] |= f->rates;
/* needs knot? */
if (f->rates & SNDRV_PCM_RATE_KNOT)
Expand All @@ -1810,7 +1810,7 @@ static int check_hw_params_convention(struct snd_usb_substream *subs)
continue;
for (i = 0; i < 32; i++) {
if (f->rates & (1 << i))
channels[i] |= (1 << f->channels);
channels[i] |= 1 << (f->channels - 1);
}
}
cmaster = 0;
Expand Down

0 comments on commit cdb2994

Please sign in to comment.