[patch] radio-rtrack2: fix double mutex_unlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch fixes double mutex unlocking.

Signed-off-by: Alexey Klimov <klimov.linux@xxxxxxxxx>

--
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

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux