diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-28 11:56:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-28 11:56:33 -0300 |
commit | b790d1d65f747cf5694a44470f45539c42859b0e (patch) | |
tree | 87d80684490fa29f9394b8dbcdd42da142bb089a /linux/drivers/media/video/saa7134/saa7134-video.c | |
parent | e93775b260028520447ff7c8bf8f0978bed9d2f8 (diff) | |
download | mediapointer-dvb-s2-b790d1d65f747cf5694a44470f45539c42859b0e.tar.gz mediapointer-dvb-s2-b790d1d65f747cf5694a44470f45539c42859b0e.tar.bz2 |
saa7134: fix lock imbalance
From: Jiri Slaby <jirislaby@gmail.com>
There seems to be one superfluos unlock in a poll function. Remove it.
Priority: normal
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 'linux/drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-video.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-video.c b/linux/drivers/media/video/saa7134/saa7134-video.c index 5be072c57..04d7e8d66 100644 --- a/linux/drivers/media/video/saa7134/saa7134-video.c +++ b/linux/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; } |