commit | 29b4494b1ff0157c1816ce8e2aea2abfdeb7f763 | [log] [tgz] |
---|---|---|
author | Jarod Wilson <jarod@redhat.com> | Tue Nov 09 18:41:46 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Dec 20 14:11:08 2010 -0200 |
tree | 287388322ddb0c05accb6faf1e9959110f3a29d4 | |
parent | 1cd50f25614226e99ac7a1518311e8474ea024e3 [diff] |
[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 <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>