]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ALSA: usb-audio: Fix race at stopping the stream"
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Dec 2016 10:28:28 +0000 (11:28 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Dec 2016 17:48:14 +0000 (09:48 -0800)
commitd410b4648fdb5a8b94d5cd8201598b1be5fd7ff9
treed026ed5a64ee4abe4118e3e7b0fe9f342bda7459
parente81965185f2b1da219cc84d08d4aeee3c208e8ee
Revert "ALSA: usb-audio: Fix race at stopping the stream"

This reverts commit b861f86d43302fc1a9c1d7d12f94b1277c17d2e6.

The commit was intended to cover the race condition, but it introduced
yet another regression for devices with the implicit feedback, leading
to a kernel panic due to NULL-dereference in an irq context.

As the race condition that was addressed by the commit is very rare
and the regression is much worse, let's revert the commit for rc1, and
fix the issue properly in a later patch.

Fixes: b861f86d4330 ("ALSA: usb-audio: Fix race at stopping the stream")
Reported-by: Ioan-Adrian Ratiu <adi@adirat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/usb/endpoint.c