[Line6linux-devel] [PATCH 0/5] staging: line6: more fixes and cleanups
Status: Pre-Alpha
Brought to you by:
mgrabner
From: <ste...@gm...> - 2011-12-03 14:17:13
|
From: Stefan Hajnoczi <ste...@gm...> I have been testing PulseAudio, ALSA, and jack applications with a POD HD300 because they tend to produce different call patterns. This is useful for exposing bugs. This series includes the latest fixes as well as some code cleanups. The fixes I'd like to highlight are: Patch 1 resolves a potential memory leak which I introduced when moving buffer allocation into the .hw_params() pcm callback. Patch 3 ensures that the playback buffer is used correctly irrespective of urb completion order. I'm not certain what guarantees we have on iso urb completion order so this may not be a real problem but it at least simplifies the code. Patch 5 makes jackd work by eliminating the -EBUSY error when it tries to start a stream. Stefan Hajnoczi (5): staging: line6: fix memory leak in .hw_params() staging: line6: fix playback urb transfer buffer calculation staging: line6: eliminate useless index_out variable staging: line6: eliminate useless NULL checks staging: line6: wait for urbs in snd_line6_prepare() capture.c | 7 +++++-- pcm.c | 14 ++++++++++++++ pcm.h | 5 ----- playback.c | 12 ++++++------ pod.c | 6 +----- podhd.c | 6 +----- toneport.c | 6 +----- variax.c | 6 +----- 8 files changed, 29 insertions(+), 33 deletions(-) -- 1.7.7.3 |