From: Henrik Rydberg Date: Thu, 10 Jun 2010 19:05:24 +0000 (-0700) Subject: Input: evdev - use driver hint to compute size of event buffer X-Git-Tag: v2.6.36-rc1~581^2^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63a6404d8ae693e71ab27c4f9c4032aa29113e92;p=pandora-kernel.git Input: evdev - use driver hint to compute size of event buffer Some devices, in particular MT devices, produce a lot of data. This may lead to overflowing of the event queues in evdev driver, which by default are fairly small. Let the drivers hint the average number of events per packet generated by the device, and use that information when computing the buffer size evdev should use for the device. Signed-off-by: Henrik Rydberg Acked-by: Chase Douglas Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed