diff mbox

BUG: double mutex lock in drivers/media/radio/si470x/radio-si470x-common.c

Message ID 201101212100.25827.strakh@ispras.ru (mailing list archive)
State Accepted
Headers show

Commit Message

iceberg Jan. 21, 2011, 6 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 ac76dfe..e50452b 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -459,7 +459,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)