From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2] i2c: Factor out runtime suspend checks from PM operations Date: Wed, 22 Dec 2010 15:25:51 +0000 Message-ID: <20101222152550.GA16099__29552.4003370248$1293031608$gmane$org@opensource.wolfsonmicro.com> References: <1292855593-30608-1-git-send-email-broonie@opensource.wolfsonmicro.com> <1292855593-30608-2-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Rabin Vincent Cc: patches@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Ben Dooks , Jean Delvare , linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Wed, Dec 22, 2010 at 08:40:23PM +0530, Rabin Vincent wrote: > Shouldn't you be deleting the pm_runtime_* stuff from here? There is > already done in pm_generic_restore() iff the callback exists and returns > zero. I guess; it's not clear why this is being done by the bus at all or how it interacts with the legacy stuff.