From: Sean Young Date: Wed, 24 Oct 2012 20:22:42 +0000 (-0300) Subject: [media] winbond-cir: add carrier detection X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~21^2^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b0b4e90d799cddfdd5d0a90ed470933f7e9859;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed