From patchwork Fri May 3 07:20:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 1930936 X-Patchwork-Delegate: seanga2@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=thorsis.com header.i=@thorsis.com header.a=rsa-sha256 header.s=dkim header.b=Z5EZj2E1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VW2JX4nlhz20fb for ; Fri, 3 May 2024 17:20:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 599EB88AC0; Fri, 3 May 2024 09:20:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=thorsis.com header.i=@thorsis.com header.b="Z5EZj2E1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AAF288AB5; Fri, 3 May 2024 09:20:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail.thorsis.com (mail.thorsis.com [217.92.40.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2ED3F889B3 for ; Fri, 3 May 2024 09:20:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ada@thorsis.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 11AA01487CC4; Fri, 3 May 2024 09:20:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1714720817; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=3vJ6Qozv5cRkWipo4jL+3pJQJPo+KFLYRe2kLNrwC8Q=; b=Z5EZj2E1eTbY4cHbseizIR7tKDdk6NvSB502SbEj+hjTprgis7Rair1z9WWt0JpPPghda4 ZVNH0yxu55DO/+593GlT+FJYF6OtTWu1u8QMI9B0I61NTXaKYAVR/Ddu/BXQzVhcivCBOp 9oFxnAJjzBS/ZTqf/14cYIQujFvoOzwy9V8xQtLGq6IWb95rt6sa4rLNGm8PmeM8TsWLwi bceqw6+h+cO73PQXeKlm4ASD4L3TBk5wl0WGVLP155vc8ylxB0kp+lm2Cef34tDIMSF/Qt IuPJIc7QKwyVGvmK835deMiRjciR96ytzRSRoNjERJBwaQBwI3nFUlEwFsdOcg== From: Alexander Dahl To: u-boot@lists.denx.de Cc: Tom Rini , Sean Anderson , Lukasz Majewski , Peng Fan Subject: [PATCH v2] clk: Revise help text for clk_get_parent_rate() Date: Fri, 3 May 2024 09:20:09 +0200 Message-Id: <20240503072009.11602-1-ada@thorsis.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The function returns the rate of the parent clock, the previous text made no sense at all. Fixes: 4aa78300a025 ("dm: clk: Define clk_get_parent_rate() for clk operations") Signed-off-by: Alexander Dahl Reviewed-by: Sean Anderson --- Notes: v2: - Collected tags include/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: c92d48f8b2909d08584f17612a23d959467f14b8 diff --git a/include/clk.h b/include/clk.h index af23e4f3475..045e923a529 100644 --- a/include/clk.h +++ b/include/clk.h @@ -444,7 +444,7 @@ ulong clk_get_rate(struct clk *clk); struct clk *clk_get_parent(struct clk *clk); /** - * clk_get_parent_rate() - Get parent of current clock rate. + * clk_get_parent_rate() - Get rate of current clock's parent. * @clk: A clock struct that was previously successfully requested by * clk_request/get_by_*(). *