diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-07-20 11:20:58 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@kernellabs.com> | 2009-07-20 11:20:58 -0400 |
commit | 49baec9371209e4c77da0321f577b9a33be0fe48 (patch) | |
tree | 5c15cd0b74f583ad5d50213e9139b7632fc200c2 /linux/drivers/media/video/cx23885 | |
parent | bf2a43cd610fd4c43b23e6dc87e086848de1b290 (diff) | |
download | mediapointer-dvb-s2-49baec9371209e4c77da0321f577b9a33be0fe48.tar.gz mediapointer-dvb-s2-49baec9371209e4c77da0321f577b9a33be0fe48.tar.bz2 |
cx23885-417: fix manipulation of tvnorms
From: Michael Krufky <mkrufky@kernellabs.com>
Currently, the VIDIOC_S_STD ioctl just returns -EINVAL regardless of
the norm passed. This patch sets cx23885_mpeg_template.tvnorms and
cx23885_mpeg_template.current_norm so that the VIDIOC_S_STD will work.
Thanks to Joseph Yasi for pointing this out, even though this particular
fix was already pushed into a development repository, merge priority of
this changeset has been escalated as a result of Joseph posting this
identical patch.
Priority: high
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Joseph A. Yasi <joe.yasi@gmail.com>
Reviewed-by: Steven Toth <stoth@kernellabs.com>
Diffstat (limited to 'linux/drivers/media/video/cx23885')
-rw-r--r-- | linux/drivers/media/video/cx23885/cx23885-417.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-417.c b/linux/drivers/media/video/cx23885/cx23885-417.c index fe0b3c41d..0751fa4dc 100644 --- a/linux/drivers/media/video/cx23885/cx23885-417.c +++ b/linux/drivers/media/video/cx23885/cx23885-417.c @@ -1737,6 +1737,8 @@ static struct video_device cx23885_mpeg_template = { .fops = &mpeg_fops, .ioctl_ops = &mpeg_ioctl_ops, .minor = -1, + .tvnorms = CX23885_NORMS, + .current_norm = V4L2_STD_NTSC_M, }; void cx23885_417_unregister(struct cx23885_dev *dev) |