From: Alexey Klimov <klimov.linux@gmail.com>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
Douglas Schilling Landgraf <dougsland@gmail.com>
Subject: [patch] radio-rtrack2: fix double mutex_unlock
Date: Tue, 10 Mar 2009 11:14:00 +0300 [thread overview]
Message-ID: <1236672840.11988.48.camel@tux.localhost> (raw)
Patch fixes double mutex unlocking.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
--
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;
}
--
Best regards, Klimov Alexey
next reply other threads:[~2009-03-10 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 8:14 Alexey Klimov [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-10 8:27 [patch] radio-rtrack2: fix double mutex_unlock Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1236672840.11988.48.camel@tux.localhost \
--to=klimov.linux@gmail.com \
--cc=dougsland@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox