From: Jarod Wilson Date: Tue, 9 Nov 2010 21:41:46 +0000 (-0300) Subject: [media] mceusb: buffer parsing fixups for 1st-gen device X-Git-Tag: v2.6.37-rc8~21^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b4494b1ff0157c1816ce8e2aea2abfdeb7f763;p=pandora-kernel.git [media] mceusb: buffer parsing fixups for 1st-gen device If we pass in an offset, we shouldn't skip 2 bytes. And the first-gen hardware generates a constant stream of interrupts, always with two header bytes, and if there's been no IR, with nothing else. Bail from ir processing without calling ir_handle_raw_event when we get such a buffer delivered to us. Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed