From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [linux-pm] [RFC] input: syfs switches for SKE keypad Date: Wed, 13 Oct 2010 10:57:37 +0100 Message-ID: <20101013095737.GI6424@rakim.wolfsonmicro.main> References: <20101012174942.GB10861@sirena.org.uk> <33A307AF30D7BF4F811B1568FE7A9B180468A9419A@EXDCVYMBSTM006.EQ1STM.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:58941 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750754Ab0JMJ5k (ORCPT ); Wed, 13 Oct 2010 05:57:40 -0400 Content-Disposition: inline In-Reply-To: <33A307AF30D7BF4F811B1568FE7A9B180468A9419A@EXDCVYMBSTM006.EQ1STM.local> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Sundar R IYER Cc: Alan Stern , "samu.p.onkalo@nokia.com" , Linus WALLEIJ , Naveen Kumar GADDIPATI , Dmitry Torokhov , "linux-input@vger.kernel.org" , Linux-pm mailing list , Jayeeta BANDYOPADHYAY On Wed, Oct 13, 2010 at 08:16:20AM +0200, Sundar R IYER wrote: > >> This isn't *really* about saving power in the individual device; it's > >> more about stopping the device generating events that disrupt the rest > >> of the system. Suspending the device can be one way of doing that and > >> is useful if it can be done but is not really the immediate goal here. > >Runtime PM is _not_ a reliable way of preventing a device from > >generating events. It is meant for saving energy, nothing else. > >If that's what this is about, then the answer is simple: Don't use > >runtime PM to try to suppress events. > I think it is unfair to discriminate here about saving power and turning off > events. I believe putting the device into power save leads to, if device permits > preventing generating events is valid to hook up run time PM. This is the opposite way around to expectations - the expectation is that runtime power management will flow from the device becoming idle enough to turn off rather than the other way around.