From nobody Tue Dec 2 00:24:03 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9D1C33ADAF for ; Tue, 25 Nov 2025 19:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764099629; cv=none; b=Ig/Cv5ROcQFV8AlRK+JHd2NLt/SaqMAlwaNdheHJ74vaUlCVoXDgec2ZBSoq20ppXO/CzeiQp8eP/vYJaMIj7m4wTavngq4o6KHeOxtcWaPiOYfYSNIxCMEdXy+27eNi1nDjLuDGR5AhtU6DDRjQIrnTZjRrCMFuHQlwEG7Twdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764099629; c=relaxed/simple; bh=77IR71vazhMBo/1VoNxEizLBWQX33SJ3o+8OJafVX9U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mWDIpfhBQ2Av7cFQKldm17WwLarwQ1Eq8VUoCm3QYNSXl4zu1lSIKshj6jFZdG6dCCMWXeN4SG9+uQw+7GsrNQCFIUtuNc3SGi1oTqLpIL3GWC+O2If/rWbnirVLozY6p8YX2oBXjA9plVbltRvQaG7jbCZuL8uQc/RceNV1wBQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gVz1rz54; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=SW7lvy1u; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gVz1rz54"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="SW7lvy1u" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764099626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=scXExgic2EXaygicpqyZLz/imYsLOFX9PqneQqDmIy4=; b=gVz1rz54ZV0GQKRzVSIESXMuVL+ieXnNhF5DljCgtCoLaGl+77kP7VJTf+EHcoY72BCC11 bkZ7J5lGISSXrT3oFopW/AH4cMi2aEdb2SPcqb5U6P7aTg4iCbzaIC8OOr6qlxsYugmPuV QAFKg+F+cLlPCVa2Xg1+8vr/YZmpPpM= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-348-s58Qzbl2MaKEBz7eeWUbhw-1; Tue, 25 Nov 2025 14:40:25 -0500 X-MC-Unique: s58Qzbl2MaKEBz7eeWUbhw-1 X-Mimecast-MFC-AGG-ID: s58Qzbl2MaKEBz7eeWUbhw_1764099625 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b19a112b75so1458783885a.1 for ; Tue, 25 Nov 2025 11:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1764099624; x=1764704424; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=scXExgic2EXaygicpqyZLz/imYsLOFX9PqneQqDmIy4=; b=SW7lvy1uPjw2Ob0hVTppvzewEgadH+YRW/q5Euv8hog2Xe5o8fb5YovQyATdXiNeto RmebK13sFqNBZJkFf+kX+aIyPC4OIlmHl8y9MYdNI1pVBTRK7mLP1DRSSmz3hchDleua NcEIqFG5FSGm5WnJtfcsHHm6DkSnBzGk3KQ9QaAIzvxB4WHvgLPqDnd1PetG6SnJQ4XA LP66PrTqPp+RMypgf9U63SwAeDNTOvbmD9o2M6ZAtLuPlPnISJCIDYToK2WC7nChTSIL V+r6+LcGMrBEebRX8Z8lxpU3oS/HNKCbqK2JKsieez+yxtOQWlAkCpHV6SqsdRgiEEkE XyAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764099624; x=1764704424; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=scXExgic2EXaygicpqyZLz/imYsLOFX9PqneQqDmIy4=; b=mlp+9PP62snAUiySU75j8BKiSkHt3Xgc5bq5cUotSP/Wh/urBjQD7NecKxlR+sCL0P 64w54PALl/BArE2U8mOa7zGSNo2RBboX4U7r98x/rKj5ktXknG/afGgcJAxbSZFPcG47 7yDTH5nlSKv1skcDKKb49M6xJIPMzCq0A8Vi00zDdDIcbVz2A/4rG5ntNAca+l0LB3Hv A2YAcbLse38Jiju4aZXxp/iDztJHWTsBEhzxYVoVgEsnnqPD55tFVqbXGUotdthI3thK unQFLVqWBywn362QWHl++18+DwS7/borBNV+wm7jVrglouP3daUoDlKSNWjlMgfKNOsz 95Gw== X-Forwarded-Encrypted: i=1; AJvYcCUpHZ3lAFvFljXPUZSjauruE+ERSIEjrsVIUjOE1+07mleab4POCmHlU8MOZB9wGWMJXatnVsbR4rPbMnY=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3jz0rlIEfIQ37LbMnWTL33FkJICj0fqmh+c3hRc5bev9XqW83 Qh5EvNt06Ad8SI8JjSITVauOQQngOBepdJyEzubmqmekd/ioKXte3nDYW/ahPJdy4sILRQM4DLl vyQ/wEIzNdgFnGId7eAO6b86ToqyxmcQTVnYzMN+gEDDc/f0JFAeteIOvV1YjlDrayQ== X-Gm-Gg: ASbGncv4mfLO6U1vwy4i6soEBXa649RrHm1oPU0elHkR3pVvD3VF507ZLZ82s/1/qaX QgbGiUDQrwqg0gE9/qhZ0jwYrR2NI85sF5XXGAu8tT5LegbE2j/JTCt7aisjvWdt83hizNWyRrT NiaxNSIogEuF4QNjAYd92EOqDIHjpZZ52iZUlX2I9+QK6+5KVOQIpNscd1UBbwhSUDHB5QwKP8+ LsmaK5YVd77thR0/TBNkAywG/AzfipThK4c12q0J404J4UfSWspDXIOyNH5GdSasbSnbtL+5yKd yeMBWgYObmwu4E+ucngV0ySkuOWWQ0OMrdTfHWpyhIBQs2K6o2hU7d8lk9gsrxn2jfKVJ62iib5 ktjL/CXsfocF3SSTMhCH5lXZR64MhScJRZDgEp18Pb08ySM0m X-Received: by 2002:a05:620a:45ab:b0:8a7:2373:1c75 with SMTP id af79cd13be357-8b33d4699afmr2326876885a.49.1764099624688; Tue, 25 Nov 2025 11:40:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOyU3t7JAaPaS5idARIdZinpSF51wsCbfrzAhI9/cn8JDyowp2Va3JIlgz3UsSUXdOBRsGOg== X-Received: by 2002:a05:620a:45ab:b0:8a7:2373:1c75 with SMTP id af79cd13be357-8b33d4699afmr2326872985a.49.1764099624320; Tue, 25 Nov 2025 11:40:24 -0800 (PST) Received: from [192.168.1.3] (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8b3295eefb6sm1236272485a.50.2025.11.25.11.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Nov 2025 11:40:23 -0800 (PST) From: Brian Masney Date: Tue, 25 Nov 2025 14:39:54 -0500 Subject: [PATCH 1/2] clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251125-clk-microchip-fixes-v1-1-6c1f5573d1b9@redhat.com> References: <20251125-clk-microchip-fixes-v1-0-6c1f5573d1b9@redhat.com> In-Reply-To: <20251125-clk-microchip-fixes-v1-0-6c1f5573d1b9@redhat.com> To: Michael Turquette , Stephen Boyd , Maxime Ripard Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Masney , kernel test robot X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2011; i=bmasney@redhat.com; s=20250903; h=from:subject:message-id; bh=77IR71vazhMBo/1VoNxEizLBWQX33SJ3o+8OJafVX9U=; b=owGbwMvMwCW2/dJd9di6A+2Mp9WSGDLV2FSfp8vZ/rR2Pmj3wPfuX4+PN95O8z11UP7AqtYLZ 5ne207a1VHKwiDGxSArpsiyJNeoICJ1le29O5osMHNYmUCGMHBxCsBEflQwMvzd2jCt3P/RbOs9 x+oqLR5e9S97qcEoFRVibjovT8a5r5bhr5jCEdaAxT+P3g29dHJ6cEKefpr/hraS//8KpMWqn03 7yQUA X-Developer-Key: i=bmasney@redhat.com; a=openpgp; fpr=A46D32705865AA3DDEDC2904B7D2DD275D7EC087 pic32_sclk_ops previously had a sclk_round_rate() member, and this was recently converted over to sclk_determine_rate() with the help of a Coccinelle semantic patch. pic32_sclk_ops now has two conflicting determine_rate ops members. Prior to the conversion, pic32_sclk_ops already had a determine_rate member that points to __clk_mux_determine_rate(). When both the round_rate() and determine_rate() ops are defined, the clk core only uses the determine_rate() op. Let's go ahead and drop the recently converted sclk_determine_rate() to match the previous functionality prior to the conversion. Fixes: e9f039c08cdc ("clk: microchip: core: convert from round_rate() to de= termine_rate()") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202511222115.uvHrP95A-lkp@int= el.com/ Signed-off-by: Brian Masney --- drivers/clk/microchip/clk-core.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/clk/microchip/clk-core.c b/drivers/clk/microchip/clk-c= ore.c index b34348d491f3e1b576b2b9a8a66bfddd8c2296ea..a0163441dfe5c1dfc27dae48e64= cf3cb3d6b764f 100644 --- a/drivers/clk/microchip/clk-core.c +++ b/drivers/clk/microchip/clk-core.c @@ -780,15 +780,6 @@ static unsigned long sclk_get_rate(struct clk_hw *hw, = unsigned long parent_rate) return parent_rate / div; } =20 -static int sclk_determine_rate(struct clk_hw *hw, - struct clk_rate_request *req) -{ - req->rate =3D calc_best_divided_rate(req->rate, req->best_parent_rate, - SLEW_SYSDIV, 1); - - return 0; -} - static int sclk_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) { @@ -912,7 +903,6 @@ static int sclk_init(struct clk_hw *hw) const struct clk_ops pic32_sclk_ops =3D { .get_parent =3D sclk_get_parent, .set_parent =3D sclk_set_parent, - .determine_rate =3D sclk_determine_rate, .set_rate =3D sclk_set_rate, .recalc_rate =3D sclk_get_rate, .init =3D sclk_init, --=20 2.51.1