]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
V4L/DVB (12372): saa7134: fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Tue, 28 Jul 2009 14:56:33 +0000 (11:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:29 +0000 (12:18 -0300)
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>
drivers/media/video/saa7134/saa7134-video.c

index 58854df5382b0620a94015db5681827082e41210..da26f476a302f9282e37213e59ff5885e1ee2a28 100644 (file)
@@ -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;
        }