From patchwork Wed Nov 18 15:03:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 61075 X-Patchwork-Delegate: paul@pwsan.com 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 nAIF3lIt001789 for ; Wed, 18 Nov 2009 15:03:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757430AbZKRPDa (ORCPT ); Wed, 18 Nov 2009 10:03:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757407AbZKRPDa (ORCPT ); Wed, 18 Nov 2009 10:03:30 -0500 Received: from mail-pz0-f171.google.com ([209.85.222.171]:62061 "EHLO mail-pz0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757389AbZKRPD3 (ORCPT ); Wed, 18 Nov 2009 10:03:29 -0500 Received: by pzk1 with SMTP id 1so849363pzk.33 for ; Wed, 18 Nov 2009 07:03:36 -0800 (PST) Received: by 10.114.253.23 with SMTP id a23mr3741766wai.155.1258556615816; Wed, 18 Nov 2009 07:03:35 -0800 (PST) Received: from localhost ([216.254.16.51]) by mx.google.com with ESMTPS id 22sm96040pzk.6.2009.11.18.07.03.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 07:03:35 -0800 (PST) To: Paul Walmsley Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 2/8] OMAP: hwmod: warn on missing clockdomain References: <1258506313-17115-1-git-send-email-khilman@deeprootsystems.com> <1258506313-17115-2-git-send-email-khilman@deeprootsystems.com> <1258506313-17115-3-git-send-email-khilman@deeprootsystems.com> From: Kevin Hilman Organization: Deep Root Systems, LLC Date: Wed, 18 Nov 2009 07:03:34 -0800 In-Reply-To: (Paul Walmsley's message of "Wed\, 18 Nov 2009 04\:07\:23 -0700 \(MST\)") Message-ID: <878we3euyh.fsf@deeprootsystems.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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 diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 4716206..9022858 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -153,8 +153,10 @@ void omap2_init_clk_clkdm(struct clk *clk) { struct clockdomain *clkdm; - if (!clk->clkdm_name) + if (!clk->clkdm_name) { + pr_debug("clock %s is missing clockdomain\n", clk->name); return; + } clkdm = clkdm_lookup(clk->clkdm_name); if (clkdm) {