projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (6602): V4L: Convert videobuf drivers to videobuf_stop
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
media
/
video
/
bt8xx
/
bttv-driver.c
diff --git
a/drivers/media/video/bt8xx/bttv-driver.c
b/drivers/media/video/bt8xx/bttv-driver.c
index a88b56e6ca05c3c2d990e2313c2bd79b857124f6..2182ef089ebf1bad2480c1a841e983a0eee9b71c 100644
(file)
--- a/
drivers/media/video/bt8xx/bttv-driver.c
+++ b/
drivers/media/video/bt8xx/bttv-driver.c
@@
-3827,10
+3827,7
@@
static int bttv_release(struct inode *inode, struct file *file)
/* stop vbi capture */
if (check_btres(fh, RESOURCE_VBI)) {
- if (fh->vbi.streaming)
- videobuf_streamoff(&fh->vbi);
- if (fh->vbi.reading)
- videobuf_read_stop(&fh->vbi);
+ videobuf_stop(&fh->vbi);
free_btres(btv,fh,RESOURCE_VBI);
}