diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-28 20:08:16 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-28 20:08:16 -0300 |
commit | dca1930663ae2f0770065085af9105ed9479c44a (patch) | |
tree | 761adfa5f323cf04f5a6cb2bf512155925120de0 /kernels/linux-libre-xen/0012-fix-saa7134.patch | |
parent | cb2dcc851263e2ccfd0b3c8d4ec960eac744b862 (diff) |
linux-libre-{pae,xen}-3.14.2-1: updating version
* added fixes for i810 hang, uefi xsdt issue, saa7134, tun speed
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, 37 insertions, 0 deletions
diff --git a/kernels/linux-libre-xen/0012-fix-saa7134.patch b/kernels/linux-libre-xen/0012-fix-saa7134.patch new file mode 100644 index 000000000..070fbc8eb --- /dev/null +++ b/kernels/linux-libre-xen/0012-fix-saa7134.patch @@ -0,0 +1,37 @@ +--- 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); + |