]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc/mceusb: timeout should be in ns, not us
authorJarod Wilson <jarod@redhat.com>
Thu, 6 Jan 2011 16:23:13 +0000 (13:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 14:52:19 +0000 (12:52 -0200)
commit2008b0cc491a1d4de0def5f269b58401012cdcc2
treef2ad5b3f1d87626cedc793cd4352a828436061fe
parent614213b45f5e30f944f502155c07ddaec1efbf62
[media] rc/mceusb: timeout should be in ns, not us

Fixes an egregious bug in mceusb driver, where the receiver was being
put into idle mode far sooner than it should have, thanks to storing a
timeout value that in us where it should be ns. Basically, the receiver
kept going into idle mode before a trailing space had been fully
received, which was causing problems for some protocols, most notably
manifesting as lirc userspace never receiving a trailing space for any
rc5 signals.

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