From: Maxim Levitsky Date: Sat, 31 Jul 2010 14:59:22 +0000 (-0300) Subject: V4L/DVB: IR: add helper function for hardware with small o/b buffer X-Git-Tag: v2.6.36-rc1~289^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a702ebf61120906696f8366dd2be0653b1643e3;p=pandora-kernel.git V4L/DVB: IR: add helper function for hardware with small o/b buffer Some ir input devices have small buffer, and interrupt the host each time it is full (or half full) Add a helper that automaticly handles timeouts, and also automaticly merges samples of same time (space-space) Such samples might be placed by hardware because size of sample in the buffer is small (a byte for example). Also remove constness from ir_dev_props, because it now contains timeout settings that driver might want to change Signed-off-by: Maxim Levitsky Acked-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed