]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12362): cx23885-417: fix manipulation of tvnorms
authorMichael Krufky <mkrufky@kernellabs.com>
Mon, 20 Jul 2009 15:20:58 +0000 (12:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:03 +0000 (20:39 -0300)
commit3a1acfa4012a2681d89be959e63ee32c877fbb1f
treec01c4ea499e8e8e6396801614365a63792e0d054
parentedf85932c70c17c415abd00c00ba2952b8771c14
V4L/DVB (12362): cx23885-417: fix manipulation of tvnorms

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.

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-417.c