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