All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Reduce races in line6 drivers
@ 2015-01-27 16:13 Takashi Iwai
  2015-01-27 16:13 ` [PATCH 1/5] ALSA: line6: Fix racy loopback handling Takashi Iwai
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Takashi Iwai @ 2015-01-27 16:13 UTC (permalink / raw)
  To: alsa-devel; +Cc: Stefan Hajnoczi, Chris Rorvick

Hi,

another day, another patchset.
This time it mostly covers the races in PCM stream handling.  This
should work for most cases, but there are slightly uncovered
conditions that is fairly difficult to fix.  Maybe moving to the
non-atomic PCM ops is one way, but it's too far ahead, ther are
much more things to clean up before that.


Takashi

===

Takashi Iwai (5):
  ALSA: line6: Fix racy loopback handling
  ALSA: line6: Clear prev_fbuf and prev_fsize properly
  ALSA: line6: Reorganize PCM stream handling
  ALSA: line6: Make common PCM pointer callback
  ALSA: line6: Handle error from line6_pcm_acquire()

 sound/usb/line6/capture.c  | 113 +++------------
 sound/usb/line6/capture.h  |   1 -
 sound/usb/line6/pcm.c      | 351 ++++++++++++++++++++++++++-------------------
 sound/usb/line6/pcm.h      | 145 ++++++-------------
 sound/usb/line6/playback.c | 139 ++++--------------
 sound/usb/line6/playback.h |   1 -
 sound/usb/line6/toneport.c |  17 ++-
 7 files changed, 302 insertions(+), 465 deletions(-)

-- 
2.2.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-28  5:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27 16:13 [PATCH 0/5] Reduce races in line6 drivers Takashi Iwai
2015-01-27 16:13 ` [PATCH 1/5] ALSA: line6: Fix racy loopback handling Takashi Iwai
2015-01-28  5:41   ` Chris Rorvick
2015-01-27 16:13 ` [PATCH 2/5] ALSA: line6: Clear prev_fbuf and prev_fsize properly Takashi Iwai
2015-01-27 16:13 ` [PATCH 3/5] ALSA: line6: Reorganize PCM stream handling Takashi Iwai
2015-01-28  5:50   ` Chris Rorvick
2015-01-27 16:13 ` [PATCH 4/5] ALSA: line6: Make common PCM pointer callback Takashi Iwai
2015-01-27 16:13 ` [PATCH 5/5] ALSA: line6: Handle error from line6_pcm_acquire() Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.