]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <alexander.levin@verizon.com>
Fri, 13 Jan 2017 01:56:58 +0000 (20:56 -0500)
commit6242668e855c8e203644c8023976c87cb042ebcb
tree736ed0096fbe36b29634dedeaac0184a6ba96be0
parentdd5035276792edbd3dac21620d9b91d3a8e3785a
Revert "ALSA: usb-audio: Fix race at stopping the stream"

[ Upstream commit f8114f8583bb18a467c04ddc1e8978330e445801 ]

This reverts commit 16200948d8353fe29a473a394d7d26790deae0e7.

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: 16200948d835 ("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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
sound/usb/endpoint.c