From patchwork Thu May 6 06:28:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Gadiyar X-Patchwork-Id: 97277 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o466SIki012512 for ; Thu, 6 May 2010 06:28:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752651Ab0EFG2R (ORCPT ); Thu, 6 May 2010 02:28:17 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:49360 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751100Ab0EFG2Q (ORCPT ); Thu, 6 May 2010 02:28:16 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o466SCNo019093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 May 2010 01:28:14 -0500 Received: from linfarm488.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o466S9F3024865; Thu, 6 May 2010 11:58:10 +0530 (IST) Received: from linfarm488.india.ti.com (localhost [127.0.0.1]) by linfarm488.india.ti.com (8.12.11/8.12.11) with ESMTP id o466S9Aq021873; Thu, 6 May 2010 11:58:09 +0530 Received: (from a0393673@localhost) by linfarm488.india.ti.com (8.12.11/8.12.11/Submit) id o466S8F6021871; Thu, 6 May 2010 11:58:08 +0530 From: Anand Gadiyar To: linux-omap@vger.kernel.org, Tony Lindgren Cc: Anand Gadiyar Subject: [PATCH] OMAP3: wait on IDLEST after enabling USBTLL fclk Date: Thu, 6 May 2010 11:58:08 +0530 Message-Id: <1273127288-21590-1-git-send-email-gadiyar@ti.com> X-Mailer: git-send-email 1.5.5 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]); Thu, 06 May 2010 06:28:21 +0000 (UTC) Index: linux-omap-2.6/arch/arm/mach-omap2/clock3xxx_data.c =================================================================== --- linux-omap-2.6.orig/arch/arm/mach-omap2/clock3xxx_data.c +++ linux-omap-2.6/arch/arm/mach-omap2/clock3xxx_data.c @@ -1484,7 +1484,7 @@ static struct clk ts_fck = { static struct clk usbtll_fck = { .name = "usbtll_fck", - .ops = &clkops_omap2_dflt, + .ops = &clkops_omap2_dflt_wait, .parent = &dpll5_m2_ck, .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), .enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT,