From b9ab3508efa57905ae037ddf48c97ea6ed74b799 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 28 Jul 2009 11:56:33 -0300 Subject: V4L/DVB (12372): saa7134: fix lock imbalance There seems to be one superfluos unlock in a poll function. Remove it. Signed-off-by: Jiri Slaby Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/saa7134/saa7134-video.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/media/video/saa7134') diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index 58854df5382..da26f476a30 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c @@ -1444,7 +1444,6 @@ video_poll(struct file *file, struct poll_table_struct *wait) fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); fh->cap.read_off = 0; } - mutex_unlock(&fh->cap.vb_lock); buf = fh->cap.read_buf; } -- cgit v1.2.3-18-g5258