The patch number 10313 was added via Hans Verkuil <hverk...@xs4all.nl> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: Linux Media Mailing List <linux-me...@vger.kernel.org> ------ From: Hans Verkuil <hverk...@xs4all.nl> saa7146: fix VIDIOC_ENUMSTD. The previous conversion to video_ioctl2 broke VIDIOC_ENUMSTD. This is now fixed. Priority: normal Signed-off-by: Hans Verkuil <hverk...@xs4all.nl> --- linux/drivers/media/common/saa7146_fops.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -r 6a6eb9efc6cd -r 1d8d4c91da9d linux/drivers/media/common/saa7146_fops.c --- a/linux/drivers/media/common/saa7146_fops.c Fri Jan 23 22:35:12 2009 -0200 +++ b/linux/drivers/media/common/saa7146_fops.c Mon Jan 26 23:13:05 2009 +0100 @@ -512,6 +512,7 @@ int saa7146_register_device(struct video struct saa7146_vv *vv = dev->vv_data; struct video_device *vfd; int err; + int i; DEB_EE(("dev:%p, name:'%s', type:%d\n",dev,name,type)); @@ -521,9 +522,11 @@ int saa7146_register_device(struct video return -ENOMEM; vfd->fops = &video_fops; - vfd->ioctl_ops = dev->ext_vv_data ? &dev->ext_vv_data->ops : - &saa7146_video_ioctl_ops; + vfd->ioctl_ops = &dev->ext_vv_data->ops; vfd->release = video_device_release; + vfd->tvnorms = 0; + for (i = 0; i < dev->ext_vv_data->num_stds; i++) + vfd->tvnorms |= dev->ext_vv_data->stds[i].id; strlcpy(vfd->name, name, sizeof(vfd->name)); video_set_drvdata(vfd, dev); --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/1d8d4c91da9dcb0154ecb10eece2d7f09b2f99d4 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits