The patch number 11735 was added via Mauro Carvalho Chehab <mche...@redhat.com>
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: Pieter Van Schaik  <vanste...@gmail.com>
Enabling of the Winfast TV2000 XP Global TV capture card remote control


This patch is for supporting the remote control of the Winfast TV2000
XP Global TV capture card. A case statement was added in order to
initialize the GPIO data structures as well as a case statement for
handling the keys correctly when pressed.

Thanks to Hermann and Mauro for all the help

Signed-off-by: Pieter C van Schaik <vanste...@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>


---

 linux/drivers/media/video/cx88/cx88-input.c |    2 ++
 1 file changed, 2 insertions(+)

diff -r deb9cb3f1b09 -r 4751a0d96ae2 linux/drivers/media/video/cx88/cx88-input.c
--- a/linux/drivers/media/video/cx88/cx88-input.c       Tue Apr 28 09:46:15 
2009 +0000
+++ b/linux/drivers/media/video/cx88/cx88-input.c       Wed Apr 29 06:55:31 
2009 +0000
@@ -92,6 +92,7 @@ static void cx88_ir_handle_key(struct cx
                gpio=(gpio & 0x7fd) + (auxgpio & 0xef);
                break;
        case CX88_BOARD_WINFAST_DTV1000:
+       case CX88_BOARD_WINFAST_TV2000_XP_GLOBAL:
                gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO) << 8) & 0x900);
                auxgpio = gpio;
                break;
@@ -244,6 +245,7 @@ int cx88_ir_init(struct cx88_core *core,
                break;
        case CX88_BOARD_WINFAST2000XP_EXPERT:
        case CX88_BOARD_WINFAST_DTV1000:
+       case CX88_BOARD_WINFAST_TV2000_XP_GLOBAL:
                ir_codes = ir_codes_winfast;
                ir->gpio_addr = MO_GP0_IO;
                ir->mask_keycode = 0x8f8;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/4751a0d96ae25153e39348af247cadf5cc50e497

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to