projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a8a66
)
V4L/DVB (13321): radio-gemtek-pci: fix double mutex_lock
author
Hans Verkuil
<hverkuil@xs4all.nl>
Thu, 5 Nov 2009 16:26:32 +0000
(13:26 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 26 Nov 2009 21:38:01 +0000
(19:38 -0200)
Double mutexlock found by the Linux Driver Verification project and
reported by Alexander Strakh.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
CC: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-gemtek-pci.c
patch
|
blob
|
history
diff --git
a/drivers/media/radio/radio-gemtek-pci.c
b/drivers/media/radio/radio-gemtek-pci.c
index
c3f579d
..
c6cf116
100644
(file)
--- a/
drivers/media/radio/radio-gemtek-pci.c
+++ b/
drivers/media/radio/radio-gemtek-pci.c
@@
-181,12
+181,10
@@
static void gemtek_pci_mute(struct gemtek_pci *card)
static void gemtek_pci_unmute(struct gemtek_pci *card)
{
- mutex_lock(&card->lock);
if (card->mute) {
gemtek_pci_setfrequency(card, card->current_frequency);
card->mute = false;
}
- mutex_unlock(&card->lock);
}
static int gemtek_pci_getsignal(struct gemtek_pci *card)