summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-vbi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 11:57:53 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 11:57:53 -0200
commit21ed876086e2efb38e6f2dfaf48fae94fe2ec738 (patch)
tree655bae036dd26c2d65f5d4d666a37a5e5badcd2b /linux/drivers/media/video/bt8xx/bttv-vbi.c
parent7fdad17aa5f5e0f8d164613e27d828962100b4c9 (diff)
downloadmediapointer-dvb-s2-21ed876086e2efb38e6f2dfaf48fae94fe2ec738.tar.gz
mediapointer-dvb-s2-21ed876086e2efb38e6f2dfaf48fae94fe2ec738.tar.bz2
Renames videobuf lock to vb_lock
From: Mauro Carvalho Chehab <mchehab@infradead.org> This helps to identify where vb_lock is being used, and find missusages of the locks. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-vbi.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-vbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-vbi.c b/linux/drivers/media/video/bt8xx/bttv-vbi.c
index d17e583c0..bfdbc469e 100644
--- a/linux/drivers/media/video/bt8xx/bttv-vbi.c
+++ b/linux/drivers/media/video/bt8xx/bttv-vbi.c
@@ -352,13 +352,13 @@ int bttv_s_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt)
because vbi_fmt.end counts field lines times two. */
end = max(frt->fmt.vbi.start[0], start1) * 2 + 2;
- mutex_lock(&fh->vbi.lock);
+ mutex_lock(&fh->vbi.vb_lock);
fh->vbi_fmt.fmt = frt->fmt.vbi;
fh->vbi_fmt.tvnorm = tvnorm;
fh->vbi_fmt.end = end;
- mutex_unlock(&fh->vbi.lock);
+ mutex_unlock(&fh->vbi.vb_lock);
rc = 0;