From patchwork Wed Dec 29 00:49:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitri Belimov X-Patchwork-Id: 437631 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBT0nJsZ016247 for ; Wed, 29 Dec 2010 00:49:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731Ab0L2As4 (ORCPT ); Tue, 28 Dec 2010 19:48:56 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:39258 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300Ab0L2As4 (ORCPT ); Tue, 28 Dec 2010 19:48:56 -0500 Received: by eye27 with SMTP id 27so4412848eye.19 for ; Tue, 28 Dec 2010 16:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=Iu5bTugcYmUXlrizHRQksRaksL4idSzIRxW4AffdL0E=; b=WbzjB/SIKMa+QsRkd3RdmZnm6HOlVO/JVadvmI9KkHjKusOC8HF27/Yc4K+QanM6TV uu6ukRSiD+mHaCNdw7p7feoGL36prAC7uC1Rbg4AfAWRLQGXw+UrYwuQ/UYZO19gYpor AkGWhCrrOldT7umHHsrG6ErEsQXF1yJVRdJwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=Xz2yoz8WhIIIPyPDRvUu+oWTOQG5CwmqNAufLzofazSA+vOegMBap8en0JxROUVwZl BofPlQJa7jb+pPzkTWHC9LnNaLWMM5vAE/iYq7y68Mw4CVVQSR/pw4QkTINrYl0tXt1v nNf0lXdyXPfbbwwfrppS+4BfRtHQApOv6u7Go= Received: by 10.14.136.72 with SMTP id v48mr8450624eei.46.1293583734552; Tue, 28 Dec 2010 16:48:54 -0800 (PST) Received: from glory.local ([83.234.160.236]) by mx.google.com with ESMTPS id t5sm10140479eeh.2.2010.12.28.16.48.50 (version=SSLv3 cipher=RC4-MD5); Tue, 28 Dec 2010 16:48:52 -0800 (PST) Date: Wed, 29 Dec 2010 09:49:07 +0900 From: Dmitri Belimov To: Mauro Carvalho Chehab Cc: Stefan Ringel , Felipe Sanches , Bee Hock Goh , Luis Henrique Fagundes , Linux Media Mailing List , Jarod Wilson Subject: [PATCH] tm6000: Fix mutex Message-ID: <20101229094907.7e2e59c8@glory.local> In-Reply-To: <4D0BFF4B.3060001@redhat.com> References: <4CAD5A78.3070803@redhat.com> <20101008150301.2e3ceaff@glory.local> <4CAF0602.6050002@redhat.com> <20101012142856.2b4ee637@glory.local> <4CB492D4.1000609@arcor.de> <20101129174412.08f2001c@glory.local> <4CF51C9E.6040600@arcor.de> <20101201144704.43b58f2c@glory.local> <4CF67AB9.6020006@arcor.de> <20101202134128.615bbfa0@glory.local> <4CF71CF6.7080603@redhat.com> <20101206010934.55d07569@glory.local> <4CFBF62D.7010301@arcor.de> <20101206190230.2259d7ab@glory.local> <4CFEA3D2.4050309@arcor.de> <20101208125539.739e2ed2@glory.local> <4CFFAD1E.7040004@arcor.de> <20101214122325.5cdea67e@glory.local> <4D079ADF.2000705@arcor.de> <20101215164634.44846128@glory.local> <4D08E43C.8080002@arcor.de> <20101216183844.6258734e@glory.local> <4D0A4883.20804@arcor.de> <20101217104633.7c9d10d7@glory.local> <4D0AF2A7.6080100@arcor.de> <20101217160854.16a1f754@glory.local> <4D0BFF4B.3060001@redhat.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 29 Dec 2010 00:49:20 +0000 (UTC) diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c index 8c897d7..96aed4a 100644 --- a/drivers/staging/tm6000/tm6000-core.c +++ b/drivers/staging/tm6000/tm6000-core.c @@ -722,5 +722,5 @@ void tm6000_close_extension(struct tm6000_core *dev) ops->fini(dev); } } - mutex_lock(&tm6000_devlist_mutex); + mutex_unlock(&tm6000_devlist_mutex); } Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov