From patchwork Thu Dec 9 22:19:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 396662 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB9MJadP027225 for ; Thu, 9 Dec 2010 22:20:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757327Ab0LIWUF (ORCPT ); Thu, 9 Dec 2010 17:20:05 -0500 Received: from mail-pv0-f174.google.com ([74.125.83.174]:37273 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756388Ab0LIWUE (ORCPT ); Thu, 9 Dec 2010 17:20:04 -0500 Received: by pva4 with SMTP id 4so617753pva.19 for ; Thu, 09 Dec 2010 14:20:03 -0800 (PST) Received: by 10.142.226.4 with SMTP id y4mr581387wfg.8.1291933203685; Thu, 09 Dec 2010 14:20:03 -0800 (PST) Received: from localhost (c-24-18-179-55.hsd1.wa.comcast.net [24.18.179.55]) by mx.google.com with ESMTPS id v19sm3063977wfh.12.2010.12.09.14.20.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 14:20:02 -0800 (PST) From: Kevin Hilman To: "Cousson\, Benoit" Cc: "Varadarajan\, Charulatha" , "linux-omap\@vger.kernel.org" , "linux-arm-kernel\@lists.infradead.org" , "paul\@pwsan.com" , "tony\@atomide.com" , "Basak\, Partha" Subject: Re: [PATCH v8 01/11] OMAP: GPIO: prepare for platform driver Organization: Deep Root Systems, LLC References: <1290689318-10191-1-git-send-email-charu@ti.com> <1290689318-10191-2-git-send-email-charu@ti.com> <8762v292ld.fsf@deeprootsystems.com> <4D014B3C.7040806@ti.com> Date: Thu, 09 Dec 2010 14:19:59 -0800 In-Reply-To: <4D014B3C.7040806@ti.com> (Benoit Cousson's message of "Thu, 9 Dec 2010 22:33:48 +0100") Message-ID: <871v5q7fn4.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 (demeter1.kernel.org [140.211.167.41]); Thu, 09 Dec 2010 22:20:06 +0000 (UTC) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 12856eb..adcb1fc 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -791,8 +791,10 @@ static void _enable_sysc(struct omap_hwmod *oh) _write_sysconfig(v, oh); /* If slave is in SMARTIDLE, also enable wakeup */ - if ((sf & SYSC_HAS_SIDLEMODE) && !(oh->flags & HWMOD_SWSUP_SIDLE)) + if ((sf & SYSC_HAS_SIDLEMODE) && !(oh->flags & HWMOD_SWSUP_SIDLE)) { _enable_wakeup(oh); + v = oh->_sysc_cache; + } /* * Set the autoidle bit only after setting the smartidle bit