aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-07-28 10:56:33 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 11:18:29 -0400
commitb9ab3508efa57905ae037ddf48c97ea6ed74b799 (patch)
treec78aa797cceeb429e2617046fb6f683ecf8fda5f /drivers/media/video/saa7134
parent575f9af89952c7e7703e48666d95609daaf99630 (diff)
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 <jirislaby@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r--drivers/media/video/saa7134/saa7134-video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c
index 58854df5382b..da26f476a302 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)
1444 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); 1444 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf);
1445 fh->cap.read_off = 0; 1445 fh->cap.read_off = 0;
1446 } 1446 }
1447 mutex_unlock(&fh->cap.vb_lock);
1448 buf = fh->cap.read_buf; 1447 buf = fh->cap.read_buf;
1449 } 1448 }
1450 1449