]> err.no Git - linux-2.6/commit
V4L/DVB (5246): Budget-ci: IR handling fixups
authorDavid Härdeman <david@hardeman.nu>
Tue, 13 Feb 2007 12:39:58 +0000 (09:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:32 +0000 (13:35 -0200)
commit59327a4897a0395d6f0358574dbb113102b63769
tree081274844ce88110376a0052a09bb98816b67bcc
parent89e4d59f2c082be9472c4de4dafb832e01bfbe01
V4L/DVB (5246): Budget-ci: IR handling fixups

Commit 00c4cc67512ada1d195b8bf3ef1db1d6b3951605 Oliver Endriss changed
the budget-ci driver to use interrupt mode for i2c transfers.

This also meant that a new bunch of IR bytes that were previously lost
are now received, which allowed me to better understand how the MSP430
chip works. Unfortunately it also means that the current driver gets
some assumptions wrong and might generate double keypresses for one IR
command.

The attached patch fixes this by throwing away the repeat bytes and by
associating the correct command and device bytes.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/ttpci/budget-ci.c