diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-12 22:37:18 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-13 01:49:59 -0400 |
commit | f272718e00d83ea49c2a3ddc017527d1018d2b98 (patch) | |
tree | 7e9eab9b2e94a547422f1c6ceb479419aaf22f28 /kernels/linux-libre-xen/0012-fix-saa7134.patch | |
parent | 2580408aec42408d6f67e4d0deb6286d09cdd687 (diff) | |
download | abslibre-f272718e00d83ea49c2a3ddc017527d1018d2b98.tar.gz abslibre-f272718e00d83ea49c2a3ddc017527d1018d2b98.tar.bz2 abslibre-f272718e00d83ea49c2a3ddc017527d1018d2b98.zip |
Make kernel/linux-libre-xen actually work
Diffstat (limited to 'kernels/linux-libre-xen/0012-fix-saa7134.patch')
-rw-r--r-- | kernels/linux-libre-xen/0012-fix-saa7134.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/kernels/linux-libre-xen/0012-fix-saa7134.patch b/kernels/linux-libre-xen/0012-fix-saa7134.patch deleted file mode 100644 index 070fbc8eb..000000000 --- a/kernels/linux-libre-xen/0012-fix-saa7134.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/drivers/media/pci/saa7134/saa7134-video.c -+++ a/drivers/media/pci/saa7134/saa7134-video.c -@@ -1243,6 +1243,7 @@ static int video_release(struct file *file) - videobuf_streamoff(&dev->cap); - res_free(dev, fh, RESOURCE_VIDEO); - videobuf_mmap_free(&dev->cap); -+ INIT_LIST_HEAD(&dev->cap.stream); - } - if (dev->cap.read_buf) { - buffer_release(&dev->cap, dev->cap.read_buf); -@@ -1254,6 +1255,7 @@ static int video_release(struct file *file) - videobuf_stop(&dev->vbi); - res_free(dev, fh, RESOURCE_VBI); - videobuf_mmap_free(&dev->vbi); -+ INIT_LIST_HEAD(&dev->vbi.stream); - } - - /* ts-capture will not work in planar mode, so turn it off Hac: 04.05*/ -@@ -1987,17 +1989,12 @@ int saa7134_streamoff(struct file *file, void *priv, - enum v4l2_buf_type type) - { - struct saa7134_dev *dev = video_drvdata(file); -- int err; - int res = saa7134_resource(file); - - if (res != RESOURCE_EMPRESS) - pm_qos_remove_request(&dev->qos_request); - -- err = videobuf_streamoff(saa7134_queue(file)); -- if (err < 0) -- return err; -- res_free(dev, priv, res); -- return 0; -+ return videobuf_streamoff(saa7134_queue(file)); - } - EXPORT_SYMBOL_GPL(saa7134_streamoff); - |