public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cx23885-417: fix setting tvnorms
@ 2009-07-30  5:46 Joseph Yasi
  2009-07-30 13:25 ` Steven Toth
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Yasi @ 2009-07-30  5:46 UTC (permalink / raw)
  To: linux-media

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.

Signed-off-by: Joseph A. Yasi <joe.yasi@gmail.com>

---
diff -r ee6cf88cb5d3 linux/drivers/media/video/cx23885/cx23885-417.c
--- a/linux/drivers/media/video/cx23885/cx23885-417.c   Wed Jul 29
01:42:02 2009 -0300
+++ b/linux/drivers/media/video/cx23885/cx23885-417.c   Thu Jul 30
00:38:14 2009 -0500
@@ -1738,6 +1738,8 @@
        .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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-30 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30  5:46 [PATCH] cx23885-417: fix setting tvnorms Joseph Yasi
2009-07-30 13:25 ` Steven Toth
2009-07-30 16:26   ` Michael Krufky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox