]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] rc-core: add trailing silence in rc-loopback tx
authorDavid Härdeman <david@hardeman.nu>
Thu, 28 Apr 2011 15:13:32 +0000 (12:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:29:53 +0000 (09:29 -0300)
commit08ffff9fa410916f1847aff831206465cefa924f
tree04668c458baf54d42e8d20ed0947d1960f18ba72
parentc829f2672f312f2c19dc021b233a45d3dd850a4f
[media] rc-core: add trailing silence in rc-loopback tx

If an IR command is sent (using the LIRC userspace) to rc-loopback
which doesn't include a trailing space, the result is that the message
won't be completely decoded. In addition, "leftovers" from a previous
transmission can be left until the next one. Fix this by faking a long
silence after the end of TX data.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/rc-loopback.c