From: David Härdeman Date: Tue, 13 Feb 2007 12:39:58 +0000 (-0300) Subject: V4L/DVB (5246): Budget-ci: IR handling fixups X-Git-Tag: v2.6.21-rc2~66^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59327a4897a0395d6f0358574dbb113102b63769;p=pandora-kernel.git 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 Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed