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
/
saa7134
/
saa7134-video.c
diff --git
a/drivers/media/video/saa7134/saa7134-video.c
b/drivers/media/video/saa7134/saa7134-video.c
index 3b9ffb4b648a67fcf8eeb4eb5637fbec605a5e06..6396d9b5c0636ced4538fc47460078b54ec0c6d3 100644
(file)
--- a/
drivers/media/video/saa7134/saa7134-video.c
+++ b/
drivers/media/video/saa7134/saa7134-video.c
@@
-1445,10
+1445,7
@@
static int video_release(struct inode *inode, struct file *file)
/* stop vbi capture */
if (res_check(fh, RESOURCE_VBI)) {
- if (fh->vbi.streaming)
- videobuf_streamoff(&fh->vbi);
- if (fh->vbi.reading)
- videobuf_read_stop(&fh->vbi);
+ videobuf_stop(&fh->vbi);
res_free(dev,fh,RESOURCE_VBI);
}