Message ID | 1396404296-9390-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@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 06A429F2B6 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 2 Apr 2014 02:05:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 396C020268 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 2 Apr 2014 02:05:10 +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 4B6F620266 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 2 Apr 2014 02:05:09 +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 1WVAY4-0000PD-FJ; Wed, 02 Apr 2014 02:05:04 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVAY1-0005tf-Op; Wed, 02 Apr 2014 02:05:01 +0000 Received: from mail-ig0-f179.google.com ([209.85.213.179]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVAXx-0005rZ-QR for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 02:04:58 +0000 Received: by mail-ig0-f179.google.com with SMTP id hl10so2139953igb.6 for <linux-arm-kernel@lists.infradead.org>; Tue, 01 Apr 2014 19:04:33 -0700 (PDT) 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=Y3Y9WQGu/xusYcw0iulBlC+1XHahRK1VG8/mhlltOkFfnBMAMKmSOUpVAakdwRtyzD qEtbO8uwU8+IVOUbPU5FB6i1l29vnKysvXQ2ZbY0NibNzYseLlHtT37/ieF/SA7HeM4w Ettv4/M51B2IHuNbgOBFgce4O5tbQp8DAnCt/OcMo1CxM7KBUXwyl9cOFGobrSuFglmU vVpt1AFzcSZy550A5Ct07jWK0jyur3B0PWS4smwEe0jI6cLDbCphYIuNeLwdB9E2pT0O 8fpG2ZJ46jmeMm4P8dDRxC9I8olwC9Uh/XzHBpIo6QFNdJtD3gOBCoGoffY2lEZAl1j0 O7AQ== X-Gm-Message-State: ALoCoQk+sBR66RUSL3gyyFZXIRojJBMJ98ra6CmkaK+XBvzAQ1TlOwTgJa1wKg+G5akbjomafaP5 X-Received: by 10.42.53.10 with SMTP id l10mr46081526icg.33.1396404273506; Tue, 01 Apr 2014 19:04:33 -0700 (PDT) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id vu3sm1909156igc.6.2014.04.01.19.04.32 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Apr 2014 19:04:32 -0700 (PDT) From: Alex Elder <elder@linaro.org> To: mturquette@linaro.org, bcm@fixthebug.org, mporter@linaro.org Subject: [PATCH v3 1/7] clk: bcm281xx: warn if ccu_wait_bit() fails Date: Tue, 1 Apr 2014 21:04:49 -0500 Message-Id: <1396404296-9390-2-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396404296-9390-1-git-send-email-elder@linaro.org> References: <1396404296-9390-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140401_220457_895255_4354AD0A X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: 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=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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(+)