Message ID | 1393373752-30875-2-git-send-email-elder@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7B26BBF13A for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 26 Feb 2014 00:16:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94A8A201EF for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 26 Feb 2014 00:16:29 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D89E201FA for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 26 Feb 2014 00:16:28 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WISAg-0003ql-1m; Wed, 26 Feb 2014 00:16:22 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WISAd-0004F4-DV; Wed, 26 Feb 2014 00:16:19 +0000 Received: from mail-ig0-f182.google.com ([209.85.213.182]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WISAa-0004D2-1V for linux-arm-kernel@lists.infradead.org; Wed, 26 Feb 2014 00:16:16 +0000 Received: by mail-ig0-f182.google.com with SMTP id l13so130762iga.3 for <linux-arm-kernel@lists.infradead.org>; Tue, 25 Feb 2014 16:15:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AeaCqLM46+XzTiHLLOZRusM5KwXvz4vzTGEDyCp/Kvs=; b=UPlQbwDytUyK8f8qvpTqWKQZlwd1XN9qD6Jznu9gKRoPugFtgBCbONX7oF2epqX9gj gtnJz9IHl4eqxkmyZqGpnmYU8V0qvVOdB+oYoyjYZTzZTNCKx+yloO4q9ya6FFgjVXdE wBkQg0Mp0qRi5Fo9JQzuWC05LaIJV9kQZFjtdtlg8AZhc5SwVZjRI5vf3Gnk8LqhKa9O aNR7g+I0w6XZ7Wgc1GvB9VKNBRS80SiSYRPGv2TPyXx9CtDYuf1ZB9F854R7y6+i8igq ap25GRhyor9LqqB6GPsIJvkc3HX5GpuwI5pr8i/QAsxvwPHMD4seZPkj1MQ1WCJxwIwj pvpA== X-Gm-Message-State: ALoCoQmPs5UY/CbsKltJvl72UdYbIc1MBQ73YtS20J9aKApGirZzOUpcHP3BdRpNzKhDyOYcXBJU X-Received: by 10.42.118.14 with SMTP id v14mr21964icq.73.1393373752835; Tue, 25 Feb 2014 16:15:52 -0800 (PST) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id om7sm91459igb.10.2014.02.25.16.15.51 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 16:15:52 -0800 (PST) From: Alex Elder <elder@linaro.org> To: mturquette@linaro.org, mporter@linaro.org, bcm@fixthebug.org, galak@codeaurora.org, ijc+devicetree@hellion.org.uk, mark.rutland@arm.com, pawel.moll@arm.com, robh+dt@kernel.org Subject: [PATCH v2 01/12] clk: bcm281xx: warn if ccu_wait_bit() fails Date: Tue, 25 Feb 2014 18:15:41 -0600 Message-Id: <1393373752-30875-2-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1393373752-30875-1-git-send-email-elder@linaro.org> References: <1393373752-30875-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140225_191616_153462_FDCC44B8 X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.5 (/) Cc: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c index e3d339e..c01d810 100644 --- a/drivers/clk/bcm/clk-kona.c +++ b/drivers/clk/bcm/clk-kona.c @@ -207,6 +207,9 @@ __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) return true; udelay(1); } + pr_warn("%s: %s/0x%04x bit %u was never %s\n", __func__, + ccu->name, reg_offset, bit, want ? "set" : "clear"); + return false; }
Don't let a failure of ccu_wait_bit() go unnoticed. Signed-off-by: Alex Elder <elder@linaro.org> --- drivers/clk/bcm/clk-kona.c | 3 +++ 1 file changed, 3 insertions(+)