From patchwork Wed Aug 4 22:32:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 117165 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o74MWTfv013198 for ; Wed, 4 Aug 2010 22:32:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757768Ab0HDWcZ (ORCPT ); Wed, 4 Aug 2010 18:32:25 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:59955 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758086Ab0HDWcY (ORCPT ); Wed, 4 Aug 2010 18:32:24 -0400 Received: by pvc7 with SMTP id 7so2236369pvc.19 for ; Wed, 04 Aug 2010 15:32:24 -0700 (PDT) Received: by 10.115.78.2 with SMTP id f2mr11333875wal.142.1280961144134; Wed, 04 Aug 2010 15:32:24 -0700 (PDT) Received: from localhost (c-24-18-179-55.hsd1.wa.comcast.net [24.18.179.55]) by mx.google.com with ESMTPS id k23sm16779026waf.5.2010.08.04.15.32.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Aug 2010 15:32:23 -0700 (PDT) From: Kevin Hilman To: "Basak\, Partha" Cc: Paul Walmsley , "linux-omap\@vger.kernel.org" , "Kalliguddi\, Hema" , "Raja\, Govindraj" , "Varadarajan\, Charulatha" , "Nayak\, Rajendra" , "Cousson\, Benoit" Subject: Re: Issues with calling pm_runtime functions in platform_pm_suspend_noirq/IRQ disabled context. Organization: Deep Root Systems, LLC References: <874ofbppj4.fsf@deeprootsystems.com> <87tynaaw4r.fsf@deeprootsystems.com> Date: Wed, 04 Aug 2010 15:32:22 -0700 In-Reply-To: <87tynaaw4r.fsf@deeprootsystems.com> (Kevin Hilman's message of "Wed, 04 Aug 2010 14:47:00 -0700") Message-ID: <87sk2u9fgp.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 04 Aug 2010 22:32:30 +0000 (UTC) diff --git a/arch/arm/mach-omap2/pm_bus.c b/arch/arm/mach-omap2/pm_bus.c index bab0186..01bbe65 100644 --- a/arch/arm/mach-omap2/pm_bus.c +++ b/arch/arm/mach-omap2/pm_bus.c @@ -90,7 +90,7 @@ int platform_pm_resume_noirq(struct device *dev) * method so that the runtime PM usage counting is in the same * state it was when suspend was called. */ - pm_runtime_get_sync(dev); + pm_runtime_get_noresume(dev); if (!drv) return 0;