From: Antti Seppälä Date: Tue, 31 Mar 2015 17:48:09 +0000 (-0300) Subject: [media] rc: ir-rc6-decoder: Add encode capability X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~334 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf257e288ad3a134d4bb809c542a3ae6c87ddfa3;p=pandora-kernel.git [media] rc: ir-rc6-decoder: Add encode capability Add the capability to encode RC-6 and RC-6A scancodes as raw events. The protocol is chosen based on the specified protocol mask, and whether all the required bits are set in the scancode mask, and none of the unused bits are set in the scancode data. The Manchester modulation helper is used several times with various timings so that RC-6 header preamble, the header, header trailing bit and the data itself can be modulated correctly. Signed-off-by: Antti Seppälä Cc: James Hogan Cc: David Härdeman Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed