From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:49863 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932685AbcIEO3A (ORCPT ); Mon, 5 Sep 2016 10:29:00 -0400 Subject: Patch "ALSA: line6: Remove double line6_pcm_release() after failed acquire." has been added to the 4.7-stable tree To: dev@andree.sk, gregkh@linuxfoundation.org, stefanha@gmail.com, tiwai@suse.de Cc: , From: Date: Mon, 05 Sep 2016 16:29:01 +0200 Message-ID: <147308574116155@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From 7e4379eae0e31994ea645db1d13006ea8e5ce539 Mon Sep 17 00:00:00 2001 From: Andrej Krutak Date: Thu, 18 Aug 2016 23:52:10 +0200 Subject: ALSA: line6: Remove double line6_pcm_release() after failed acquire. From: Andrej Krutak 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 Signed-off-by: Andrej Krutak Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- 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