From patchwork Fri Jul 17 22:24:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vikram pandita X-Patchwork-Id: 36134 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6HMQcbk007678 for ; Fri, 17 Jul 2009 22:26:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757810AbZGQW0e (ORCPT ); Fri, 17 Jul 2009 18:26:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757862AbZGQW0e (ORCPT ); Fri, 17 Jul 2009 18:26:34 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:53445 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757810AbZGQW0e (ORCPT ); Fri, 17 Jul 2009 18:26:34 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6HMQSrO005483; Fri, 17 Jul 2009 17:26:33 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n6HMQPTC028846; Fri, 17 Jul 2009 17:26:25 -0500 (CDT) Received: from vip-tid (lta0307903-128247075087.am.dhcp.ti.com [128.247.75.87]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id n6HMQP929556; Fri, 17 Jul 2009 17:26:25 -0500 (CDT) Received: from vip-tid (localhost.localdomain [127.0.0.1]) by vip-tid (Postfix) with ESMTP id 5CCB329C9DE; Fri, 17 Jul 2009 17:24:10 -0500 (CDT) Received: (from vikram@localhost) by vip-tid (8.14.3/8.14.3/Submit) id n6HMOABD026146; Fri, 17 Jul 2009 17:24:10 -0500 X-Authentication-Warning: vip-tid: vikram set sender to vikram.pandita@ti.com using -f From: Vikram Pandita To: khilman@deeprootsystems.com, linux-omap@vger.kernel.org Cc: Vikram Pandita Subject: [PATCH] OMAP3: USBHOST: Fix prcm interrupt handler Date: Fri, 17 Jul 2009 17:24:08 -0500 Message-Id: <1247869448-26114-1-git-send-email-vikram.pandita@ti.com> X-Mailer: git-send-email 1.6.3.3.334.g916e1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org For clearing the PM_WKST of USBHOST domain, two fclocks need to be enabled: HOST1 and HOST2 Current code just enables HOST1 fclock and thus not clearing the Wake status of usbhost domain correctly Signed-off-by: Vikram Pandita --- arch/arm/mach-omap2/pm34xx.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index e80d59f..4cbeff1 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -264,8 +264,10 @@ static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id) CM_FCLKEN); cm_set_mod_reg_bits(wkst, OMAP3430ES2_USBHOST_MOD, CM_ICLKEN); - cm_set_mod_reg_bits(wkst, OMAP3430ES2_USBHOST_MOD, - CM_FCLKEN); + cm_set_mod_reg_bits((1<