Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3987866pxb; Tue, 25 Jan 2022 00:47:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH0WWJR6kGC6SZBgJJdbHBIJ2ngBFMIiEhNxB3ASM9qs0Wnnb1BJgbJZGl4T/sjRvMP958 X-Received: by 2002:a17:906:452:: with SMTP id e18mr14737628eja.344.1643100426448; Tue, 25 Jan 2022 00:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643100426; cv=none; d=google.com; s=arc-20160816; b=ZXKNVKTYLuslJLfR54NWH9mjVYvf5LGHFs2nkVcDjdci6J1MooALJgZLk8BTx4280S U3E7SRwvmzxfZ9dmF3rVYnI8c+auZCR1Hey9K2IuRYdAbCFl49OV2j+/8VzKMFfP1omE c5GzgMg5HlS2WMxQGPYlUszBshOZbmSnxrjAamWzfXzBDJX5xwqkciwX2vLarvvbLZ9f wxOcrQEUWePVbEEWjMkkXbjHc7VTsXzM/NgfkbK5hyOReCf6tePvESl80jlXPnzCl8/v ok1/pHi8WlA94/wJyfNKpjXLglrN3q6g7vxjHonew50qNzr/BclsqhE8qYHgc8Ryb5vc 85Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=yzRDLvQ1vjIVlRYsbDhIDsSJXen/Z3G3DRZtgTvGlUA=; b=1KgsLWKhs1bP7mgNRdgYM5n5NG+4W+o7UshNixsHBX5xisEihQxx6UBe6VMhMoP2ut MtIMUQR6fR6YiQHNdPYOEsh5VmtxzhLQyaCZHGJ6dMGlc/qUbgzZLnpy99G96CKwClqU Q+EmegGl82xyizgLuyDfElhkAteoGLYPDC4ZH6t4mn7BnBbrGb6UfL38jHZGod+6o2Pn VIANISoWM3j/WaRfQ8jfXEZuvPrkfLys/3i4vA7jFfhXL0827gj0A0v4FDWJCrrqCZDX 0yiK9PVPf3NWM6+q2cdDakzxiB8tzVNNcwa7aoNTcjU1IiW3bbqDz8P4puhHvUnF0xr2 K/PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBLM8yTO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si4018097ejj.673.2022.01.25.00.46.38; Tue, 25 Jan 2022 00:47:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBLM8yTO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1319586AbiAYDJK (ORCPT + 99 others); Mon, 24 Jan 2022 22:09:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S3423965AbiAYCiZ (ORCPT ); Mon, 24 Jan 2022 21:38:25 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9950C06175F; Mon, 24 Jan 2022 16:51:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 96F52B810A8; Tue, 25 Jan 2022 00:51:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 435C7C340E4; Tue, 25 Jan 2022 00:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643071899; bh=yzRDLvQ1vjIVlRYsbDhIDsSJXen/Z3G3DRZtgTvGlUA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=JBLM8yTO0Ukv00hwrmiBtCeo55IkbagEIY1shJs+gUP+D0TkYhsGdAbFSfo/7aa+U E7+4i0BsfWEW9oXOwke5XmMyoaj0a/rjcJELP4t8/5Ut3DMm6XjY4Ol+E+ttqs/j0s hj0t1NWRmB3mQ/kdn4znEU9FNAar9xsn0oTWOI9FNi72ruvFYroiUxJ3UpjzPDau/K nnnT/W05KluRK998MEGlYJ8LbviIsN89ir+EZKbWL1iAu3hmCbhTBumI7jBuIVNTat VkR0YNc3OhRWIWpS+Wdy/uTPQ3ST6kKKUm7FN7IIQ3XMI824apDCu5dMy5HGepKgyw 2uN21gr91HV5w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20211203141125.2447520-1-dev_public@wujek.eu> References: <20211203141125.2447520-1-dev_public@wujek.eu> Subject: Re: [PATCH] clk: si5341: fix reported clk_rate when output divider is 2 From: Stephen Boyd Cc: Adam Wujek , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Adam Wujek , Michael Turquette Date: Mon, 24 Jan 2022 16:51:37 -0800 User-Agent: alot/0.10 Message-Id: <20220125005139.435C7C340E4@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Adam Wujek (2021-12-03 06:12:07) > SI5341_OUT_CFG_RDIV_FORCE2 shall be checked first to distinguish whether > a divider for a given output is set to 2 (SI5341_OUT_CFG_RDIV_FORCE2 > is set) or the output is disabled (SI5341_OUT_CFG_RDIV_FORCE2 not set, > SI5341_OUT_R_REG is set 0). > Before the change, divider set to 2 (SI5341_OUT_R_REG set to 0) was > interpreted as output is disabled. >=20 > Signed-off-by: Adam Wujek > --- Applied to clk-next