* Patch "ALSA: line6: Remove double line6_pcm_release() after failed acquire." has been added to the 4.7-stable tree
@ 2016-09-05 14:29 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-09-05 14:29 UTC (permalink / raw)
To: dev, gregkh, stefanha, tiwai; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ALSA: line6: Remove double line6_pcm_release() after failed acquire.
to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-line6-remove-double-line6_pcm_release-after-failed-acquire.patch
and it can be found in the queue-4.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 7e4379eae0e31994ea645db1d13006ea8e5ce539 Mon Sep 17 00:00:00 2001
From: Andrej Krutak <dev@andree.sk>
Date: Thu, 18 Aug 2016 23:52:10 +0200
Subject: ALSA: line6: Remove double line6_pcm_release() after failed acquire.
From: Andrej Krutak <dev@andree.sk>
commit 7e4379eae0e31994ea645db1d13006ea8e5ce539 upstream.
If there's an error, pcm is released in line6_pcm_acquire already.
Fixes: 247d95ee6dd2 ('ALSA: line6: Handle error from line6_pcm_acquire()')
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/usb/line6/pcm.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/usb/line6/pcm.c
+++ b/sound/usb/line6/pcm.c
@@ -55,7 +55,6 @@ static int snd_line6_impulse_volume_put(
err = line6_pcm_acquire(line6pcm, LINE6_STREAM_IMPULSE);
if (err < 0) {
line6pcm->impulse_volume = 0;
- line6_pcm_release(line6pcm, LINE6_STREAM_IMPULSE);
return err;
}
} else {
Patches currently in stable-queue which might be from dev@andree.sk are
queue-4.7/alsa-line6-give-up-on-the-lock-while-urbs-are-released.patch
queue-4.7/alsa-line6-remove-double-line6_pcm_release-after-failed-acquire.patch
queue-4.7/alsa-line6-fix-pod-sysfs-attributes-segfault.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-05 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05 14:29 Patch "ALSA: line6: Remove double line6_pcm_release() after failed acquire." has been added to the 4.7-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).