]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc/streamzap: fix reporting response times
authorJarod Wilson <jarod@redhat.com>
Thu, 27 Jan 2011 18:08:35 +0000 (15:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Jan 2011 14:22:13 +0000 (12:22 -0200)
commit83e78699209786d13912c620f14685c86ba48526
treee2387f84b023a8abe9e48bb296f9a1af551a722c
parentb669bfbbe26a6fdf0ea4f58eea190f322a29e7ab
[media] rc/streamzap: fix reporting response times

The streamzap driver has relatively low sampling resolution, and any
delays in reporting events seem to cause some minor problems for the
likes of irw when using the lirc bridge driver, resulting in a single
keypress registering as multiple independent ones, rather than as a
single press with repeats. If we call ir_raw_event_handle() more
frequently and reset the rawir kfifo at end-of-signal, the behavior
improves quite a bit.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/streamzap.c