From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Gardiner Subject: Re: [PATCH v2 4/4] da850-evm: add baseboard UI expander buttons, switches and LEDs Date: Fri, 19 Nov 2010 12:15:32 -0500 Message-ID: References: <20101119170232.GB6236@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from na3sys009aog112.obsmtp.com ([74.125.149.207]:60458 "HELO na3sys009aog112.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755069Ab0KSRPd (ORCPT ); Fri, 19 Nov 2010 12:15:33 -0500 In-Reply-To: <20101119170232.GB6236@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: "Nori, Sekhar" , Kevin Hilman , "davinci-linux-open-source@linux.davincidsp.com" , "linux-input@vger.kernel.org" , "Govindarajan, Sriramakrishnan" , Paul Mundt , "linux-kernel@vger.kernel.org" , Alexander Clouter , Chris Cordahi Hi Dmitry, On Fri, Nov 19, 2010 at 12:02 PM, Dmitry Torokhov wrote: > Another question is why do you want to poll the same device at > different intervals? The processor is already woken up so it makes sense > to do as much as possible instead of going to sleep. In your case > 200/700 for every 1400ms interval you wake an extra time to poll > switches so unless polling switches takes very long time it is better to > combine them together (and into one input device, probably). I see. That is a good question :) I didn't realize that splitting into two separate input devices with different polling intervals would have the opposite effect than what I intended. Thank you for pointing this out. I will definitely integrate them into one input device polled at 200ms. Best Regards, Ben Gardiner --- Nanometrics Inc. http://www.nanometrics.ca