Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162569
b: refs/heads/master
c: c2f5e9d
h: refs/heads/master
i:
  162567: 6984a6d
v: v3
  • Loading branch information
Frederik Deweerdt authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 15c3468 commit 135036f
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: e1769b3cf0670935d1988e65f758bf6f29c0e107
refs/heads/master: c2f5e9d2bfa41cd4ba1c7dc49b32d6b6df6d195b
4 changes: 2 additions & 2 deletions trunk/drivers/staging/line6/capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
static int submit_audio_in_urb(struct snd_pcm_substream *substream)
{
int index;
unsigned int index;
unsigned long flags;
struct snd_line6_pcm *line6pcm = snd_pcm_substream_chip(substream);
int i, urb_size;
Expand All @@ -35,7 +35,7 @@ static int submit_audio_in_urb(struct snd_pcm_substream *substream)
spin_lock_irqsave(&line6pcm->lock_audio_in, flags);
index = find_first_zero_bit(&line6pcm->active_urb_in, LINE6_ISO_BUFFERS);

if (index < 0 || index >= LINE6_ISO_BUFFERS) {
if (index >= LINE6_ISO_BUFFERS) {
spin_unlock_irqrestore(&line6pcm->lock_audio_in, flags);
dev_err(s2m(substream), "no free URB found\n");
return -EINVAL;
Expand Down

0 comments on commit 135036f

Please sign in to comment.