commit | 37b0b4e90d799cddfdd5d0a90ed470933f7e9859 | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Wed Oct 24 17:22:42 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Nov 21 17:06:17 2012 -0200 |
tree | 4c0ed67b3347459203511887f1ba2c83809b9e70 | |
parent | c496e716e0a7e3c486b99edbab5a6db7649824b1 [diff] |
[media] winbond-cir: add carrier detection The winbond hardware has a counter for leading edges, which increases as they are received. As we read raw IR from a fifo in an interrupt handler, we cannot correlate them to specific IR pulses so we simply count all pulses and edges until we go idle and disable the receiver. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>