Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219914
b: refs/heads/master
c: c7fcf25
h: refs/heads/master
v: v3
  • Loading branch information
Markus Grabner authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 40a0fbf commit 9bd2e7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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: 340362abb9544043d41e047c63d86dffe990a48c
refs/heads/master: c7fcf25525b3cd6559f882837bfa76d04a80f8a6
3 changes: 3 additions & 0 deletions trunk/drivers/staging/line6/capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize)
const int bytes_per_frame = line6pcm->properties->bytes_per_frame;
int frames = fsize / bytes_per_frame;

if (runtime == 0)
return;

if (line6pcm->pos_in_done + frames > runtime->buffer_size) {
/*
The transferred area goes over buffer boundary,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/line6/revision.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef DRIVER_REVISION
/* current subversion revision */
#define DRIVER_REVISION " (revision 684)"
#define DRIVER_REVISION " (revision 690)"
#endif

0 comments on commit 9bd2e7a

Please sign in to comment.