projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[cascardo/linux.git]
/
sound
/
firewire
/
fireworks
/
fireworks_hwdep.c
diff --git
a/sound/firewire/fireworks/fireworks_hwdep.c
b/sound/firewire/fireworks/fireworks_hwdep.c
index
4f8216f
..
33df865
100644
(file)
--- a/
sound/firewire/fireworks/fireworks_hwdep.c
+++ b/
sound/firewire/fireworks/fireworks_hwdep.c
@@
-58,7
+58,7
@@
hwdep_read_resp_buf(struct snd_efw *efw, char __user *buf, long remained,
efw->pull_ptr += till_end;
if (efw->pull_ptr >= efw->resp_buf +
snd_efw_resp_buf_size)
- efw->pull_ptr
= efw->resp_buf
;
+ efw->pull_ptr
-= snd_efw_resp_buf_size
;
length -= till_end;
buf += till_end;