[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)
commit706c57d802394e2fe720ebc929234a678f94e716
treef2ad5b3f1d87626cedc793cd4352a828436061fe
parent672dcd54774ea1b03da8f2baa1cdbf827927fc85
[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