Message ID | c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A5398601E9 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 26 Mar 2017 17:47:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 885A127DA4 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 26 Mar 2017 17:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BAE827F81; Sun, 26 Mar 2017 17:47:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E3F8027DA4 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 26 Mar 2017 17:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=J2AJ4mrIuPNLmT6KQ2lk6ZBufnrobkzonvU1H9BDxXw=; b=LFbFSD1i+J01k+ZOVDVi+m2WbW DirTfSW22d0CYqWDcb697/hfquxt1FOi/Qy5RsR8eOTe5XPIWB+R9E6o7JeQN7FCyfaSgpbnqiU4j 9NCOX87cV7QKTOWA10w89v83wFfr/P4N/zIIsJUdayAGXITCDBHwqDH8FWnZFhLqnGJLa/5S98ffx 0glfpG4mL8ZTK7smn7sa1qOm3tGs3alc9tCPLMFII7e0VpIdvPM9eeVMcgHZBbFxe/T7IlEJBbJkm OQqBS/MB4vHwMWfcTEEnHnh1tfSamRwqElBkZwCimRDCpeDWPP2UE91OXIBdpd+fbkQNeFF+grOEv oKa5JjoQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1csCG3-0002mQ-KR; Sun, 26 Mar 2017 17:47:15 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1csBsI-0007gM-Kh for linux-arm-kernel@lists.infradead.org; Sun, 26 Mar 2017 17:23:05 +0000 Received: from localhost (82.131.31.173.cable.starman.ee [82.131.31.173]) by plaes.org (Postfix) with ESMTPSA id 63EBC44B61; Sun, 26 Mar 2017 17:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1490548840; bh=D+lsWEJuBnd0JZe6QOP0Hl6AvBaqFgNWdQRg7/FA658=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=oagC4NZJQpZfCF3t/856TEoP8va7AQOaRy2MXAUf+9/C2eIn1DvphoUDrCtY65P9x OftmOzrOPIOFvdGFxngoXoERTR6kP2N7nvMyYzbTEzQM4Ox55UR3TYQv08Ni5MFsm8 6XhRsI6QMx69FX1h8ppVvvxHQ8DvI7Kd1/QaMXppaELadVVRA5de6d9vAQVIvX5nmK U2OmqvMhrVhKRiY1oC4tf6s6PcGVITaWAjcO2L5tbqTzKMu08APRabG7Ftc02aJ9NU t1Z+Xa6QbL054cqaM+zvyvhP6fD/41PnQp2plu5bNSEr9Omy/jxhQJp3kuQr8gRFUR jtFR4uChPPlmQ== From: Priit Laes <plaes@plaes.org> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails Date: Sun, 26 Mar 2017 20:20:21 +0300 Message-Id: <c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org> References: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org> In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org> References: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170326_102243_233321_A0D206CD X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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> Cc: Mark Rutland <mark.rutland@arm.com>, Priit Laes <plaes@plaes.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Chen-Yu Tsai <wens@csie.org>, Russell King <linux@armlinux.org.uk>, linux-sunxi@googlegroups.com, Rob Herring <robh+dt@kernel.org>, Icenowy Zheng <icenowy@aosc.xyz>, Philipp Zabel <p.zabel@pengutronix.de>, Maxime Ripard <maxime.ripard@free-electrons.com> 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-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c index 8a47baf..188fa50 100644 --- a/drivers/clk/sunxi-ng/ccu_common.c +++ b/drivers/clk/sunxi-ng/ccu_common.c @@ -63,8 +63,8 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg, ret = clk_hw_register(NULL, hw); if (ret) { - pr_err("Couldn't register clock %s\n", - clk_hw_get_name(hw)); + pr_err("Couldn't register clock %d - %s\n", + i, clk_hw_get_name(hw)); goto err_clk_unreg; } }
Add clock index to clock registration failure message. Signed-off-by: Priit Laes <plaes@plaes.org> --- drivers/clk/sunxi-ng/ccu_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)