From: Austin Lund Date: Thu, 24 Jul 2014 10:40:20 +0000 (-0300) Subject: media/rc: Send sync space information on the lirc device X-Git-Tag: v3.2.68~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a74eb2b093cd781f216306cc5a1e5825835d74;p=pandora-kernel.git media/rc: Send sync space information on the lirc device commit a8f29e89f2b54fbf2c52be341f149bc195b63a8b upstream. Userspace expects to see a long space before the first pulse is sent on the lirc device. Currently, if a long time has passed and a new packet is started, the lirc codec just returns and doesn't send anything. This makes lircd ignore many perfectly valid signals unless they are sent in quick sucession. When a reset event is delivered, we cannot know anything about the duration of the space. But it should be safe to assume it has been a long time and we just set the duration to maximum. Signed-off-by: Austin Lund Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed