diff mbox

fix of mutex locking bug in =?UTF-8?Q?fops=5Fread?=

Message ID 28773e810fb3efb9dc0a9cc683a2268f@localhost (mailing list archive)
State Superseded
Headers show

Commit Message

Tobias Lorenz March 14, 2011, 9:03 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/radio/si470x/radio-si470x-common.c
b/drivers/media/radio/si470x/radio-si470x-common.c
index 4c69698..41ee757 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -483,7 +483,6 @@  static ssize_t si470x_fops_read(struct file *file,
char __user *buf,
 	count /= 3;
 
 	/* copy RDS block out of internal buffer and to user buffer */
-	mutex_lock(&radio->lock);
 	while (block_count < count) {
 		if (radio->rd_index == radio->wr_index)