V4L/DVB (13575): em28xx: Use the complete address/command RC5 code for WinTV USB2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Dec 2009 02:24:50 +0000 (23:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:07 +0000 (00:18 -0200)
commitb779974bdfcaec2a0eb13e44405baca07e0e92a3
tree0cd6a73d51fed57271396f6dc0522ddf64bbd4cd
parentb33f5f8af3fabe6a080c9d06f8f3184a4de3f3c2
V4L/DVB (13575): em28xx: Use the complete address/command RC5 code for WinTV USB2

This device uses an i2c chip to retrieve the keycode from a RC5 remote.
Instead of just getting 6 bits, improve the routine to get 11 bits.

This means that the complete RC5 table for Hauppauge Grey IR can be used
with this device.

Unfortunately, it seems that this IR receiver is not capable of getting
the full 14 (or 13 bits) from the RC5 protocol.

At lest now, with the new code, it is possible to replace this IR table
by another RC5 table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-input.c