diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-27 15:17:26 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 06:22:30 (GMT) |
commit | f2bb614bb6c7f5245521195f144272ef93d9f086 (patch) | |
tree | 2e491dc66f9805f1872e2c7a141dc38da30f4d81 /sound/synth | |
parent | 3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2 (diff) | |
download | linux-f2bb614bb6c7f5245521195f144272ef93d9f086.tar.xz |
ALSA: line6: Clear prev_fbuf and prev_fsize properly
Clearing prev_fsize in line6_pcm_acquire() is pretty racy.
This can be called at any time while the stream is being played.
Rather better to clear prev_fbuf and prev_fsize at the proper place
like the stream stop for capture, and just after copying the monitor /
impulse data inside the spinlock.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions