Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1549258
| From | Ioan-Adrian Ratiu <adi@adirat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] ALSA: Fix usb-audio races |
| Date | 2017-01-02 16:50 +0100 |
| Message-ID | <sVd22-r2-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Many thanks to Takashi Iwai & Sakamoto for their awesome feedback.
Changes since v1:
* Rebased my fix on top of tiwai's revert and integrated the changes
from the original fix into this.
* Dropped the stop_endpoints() call inside snd_usb_pcm_prepare() and
kept the previously existing snd_usb_endpoint_sync_pending_stop() call.
* Retained the deactivate_urbs() call in snd_usb_pcm_prepare(), I only
removed the can_sleep logic.
* Split the EP_FLAG_RUNNING check in a separate commit to keep the log
clean since this is not part of the race fix.
Ioan-Adrian Ratiu (2):
ALSA: usb-audio: Fix irq/process data synchronization
ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
sound/usb/endpoint.c | 20 ++++++++++----------
sound/usb/endpoint.h | 2 +-
sound/usb/pcm.c | 10 +++++-----
3 files changed, 16 insertions(+), 16 deletions(-)
--
2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] ALSA: Fix usb-audio races Ioan-Adrian Ratiu <adi@adirat.com> - 2017-01-02 16:50 +0100
[PATCH v2 2/2] ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion Ioan-Adrian Ratiu <adi@adirat.com> - 2017-01-02 16:50 +0100
[PATCH v2 1/2] ALSA: usb-audio: Fix irq/process data synchronization Ioan-Adrian Ratiu <adi@adirat.com> - 2017-01-02 17:00 +0100
Re: [PATCH v2 0/2] ALSA: Fix usb-audio races Ioan-Adrian Ratiu <adi@adirat.com> - 2017-01-03 08:30 +0100
Re: [PATCH v2 0/2] ALSA: Fix usb-audio races Ioan-Adrian Ratiu <adi@adirat.com> - 2017-01-03 09:50 +0100
Re: [PATCH v2 0/2] ALSA: Fix usb-audio races Takashi Iwai <tiwai@suse.de> - 2017-01-03 10:20 +0100
csiph-web