]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] nuvoton-cir: simplify raw IR sample handling
authorJarod Wilson <jarod@redhat.com>
Mon, 8 Aug 2011 20:20:40 +0000 (17:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Sep 2011 12:33:40 +0000 (09:33 -0300)
commitde4ed0c111ed078b8729a5cc49c23197740f5bad
tree9bc12cde603365fb41d422c0fe99aef7d137d9ad
parentc8814df3a578895390fe5c05a76328d8d111ed25
[media] nuvoton-cir: simplify raw IR sample handling

The nuvoton-cir driver was storing up consecutive pulse-pulse and
space-space samples internally, for no good reason, since
ir_raw_event_store_with_filter() already merges back to back like
samples types for us. This should also fix a regression introduced late
in 3.0 that related to a timeout change, which actually becomes correct
when coupled with this change. Tested with RC6 and RC5 on my own
nuvoton-cir hardware atop vanilla 3.0.0, after verifying quirky
behavior in 3.0 due to the timeout change.

Reported-by: Stephan Raue <sraue@openelec.tv>
CC: Stephan Raue <sraue@openelec.tv>
CC: stable@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/nuvoton-cir.c
drivers/media/rc/nuvoton-cir.h