From patchwork Tue Mar 10 08:14:00 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 10826 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2A8DGmK027496 for ; Tue, 10 Mar 2009 08:13:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbZCJINQ (ORCPT ); Tue, 10 Mar 2009 04:13:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752938AbZCJINQ (ORCPT ); Tue, 10 Mar 2009 04:13:16 -0400 Received: from mu-out-0910.google.com ([209.85.134.187]:51050 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752721AbZCJINO (ORCPT ); Tue, 10 Mar 2009 04:13:14 -0400 Received: by mu-out-0910.google.com with SMTP id i10so571425mue.1 for ; Tue, 10 Mar 2009 01:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=S7/qnYdL1HX5BRnAS+HD+XiZ9YlBa5FjvCFIowFtGKo=; b=v+9aTc9IE6MdZ7+yRvbJZIJq4UW+ZBnqbkWSS1OS2LJH/7BriU8N4ykHTvApV5d0Qw r9Cu8q3vPH2MxDKBwxSHq4GJkkuorS9N8VnC8Le11pcEubgfNEdAd8R3s8/O6HJaNn+3 YwAb80rznle17PTcO5bPu0XLVVKKAuOUvkr3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=IJNfQwS6Y1vJpFyEIOYeeS8UKFALXOEjHR0J5Q5zFuyP/hgvAL6vgJ3e3HPJAXvyjM RdmbQ5Eg8c+D2w6vIg0TzMgfC7Z0TvhmhW4Q7R/7XdDLLIrbu4n/7GbEeBEwvZ3ODgy6 ma/ybpsT38AMyHDcQeU2uvCqHvFB7B30amk04= Received: by 10.103.249.19 with SMTP id b19mr3105946mus.86.1236672792841; Tue, 10 Mar 2009 01:13:12 -0700 (PDT) Received: from ?192.168.1.42? (gw.zunet.ru [217.67.117.64]) by mx.google.com with ESMTPS id 14sm9947617muo.20.2009.03.10.01.13.11 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Mar 2009 01:13:12 -0700 (PDT) Subject: [patch] radio-rtrack2: fix double mutex_unlock From: Alexey Klimov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Douglas Schilling Landgraf Date: Tue, 10 Mar 2009 11:14:00 +0300 Message-Id: <1236672840.11988.48.camel@tux.localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Patch fixes double mutex unlocking. Signed-off-by: Alexey Klimov diff -r 615fb8f01610 linux/drivers/media/radio/radio-rtrack2.c --- a/linux/drivers/media/radio/radio-rtrack2.c Tue Mar 10 02:33:02 2009 -0300 +++ b/linux/drivers/media/radio/radio-rtrack2.c Tue Mar 10 09:28:27 2009 +0300 @@ -60,7 +60,6 @@ return; mutex_lock(&dev->lock); outb(1, dev->io); - mutex_unlock(&dev->lock); mutex_unlock(&dev->lock); dev->muted = 1; }