diff options
author | Mikhail Boiko <mm.boiko@yandex.ru> | 2014-03-19 01:59:46 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 03:11:15 +0400 |
commit | b5f87cf913e6005e3d41db01ffa6d71c292271d9 (patch) | |
tree | fcdff6db3ebdab55706d0a316a2afcf38de3b3bb /drivers/staging/line6 | |
parent | 431cd0e5cb36e227c53eb3c81bacec4a4b365662 (diff) | |
download | linux-b5f87cf913e6005e3d41db01ffa6d71c292271d9.tar.xz |
staging: line6: Fix coding style problem
Fix style issue for eudyptula challenge
Signed-off-by: Mikhail Boiko <mm.boiko@yandex.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6')
-rw-r--r-- | drivers/staging/line6/capture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c index f8316b71f13d..0eda51d2e9a2 100644 --- a/drivers/staging/line6/capture.c +++ b/drivers/staging/line6/capture.c @@ -157,6 +157,7 @@ void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) copy two separate chunks. */ int len; + len = runtime->buffer_size - line6pcm->pos_in_done; if (len > 0) { |