Article View: linux.kernel.netdev
Article #19158Re: [PATCH net 2/2] net: phy: broadcom: release PTP clock with PHY devres
From: Andrew Lunn
Date: Thu, 19 Nov 2026 13:27
Date: Thu, 19 Nov 2026 13:27
15 lines
8616 bytes
8616 bytes
> +static void bcm_ptp_remove(void *data)
> +{
> + struct bcm_ptp_private *priv = data;
> + struct phy_device *phydev = priv->phydev;
> +
> + if (phydev->mii_ts == &priv->mii_ts) {
How can that not be true?
Andrew
---
pw-bot: cr
Technical Details
Message-ID:
<4ef47f7f-2721-4d4e-8f9e-8555de60fe9b@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367025-linux-kernel-netdev=dewy.ruReferences:
<CAD-64DdqQ=Vx4BaRn5TXz0g5ZC6rU9+e0o-rouyXzGH=Nv0ubQ@mail.gmail.com> <CAD-64DcTO2Vro3QFMizUeOft1ptFgKEK=MgJ-mDf5nVOkFkJxA@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367025-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 2/2] net: phy: broadcom: release PTP clock with PHY devres Date: Thu, 19 Nov 2026 14:27:27 +0100 Organization: Usenet Network Message-ID: <4ef47f7f-2721-4d4e-8f9e-8555de60fe9b@lunn.ch> References: <CAD-64DdqQ=Vx4BaRn5TXz0g5ZC6rU9+e0o-rouyXzGH=Nv0ubQ@mail.gmail.com> <CAD-64DcTO2Vro3QFMizUeOft1ptFgKEK=MgJ-mDf5nVOkFkJxA@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2881637"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:KQmF54lA6tea4zsoh4Jl13uKM5o= sha256:yQR9kYxMQRt2NAp5r8yNEAp3cOP0P2T0/VCCtFDq7Uw= sha1:TKJWbn1bXwU3/y/PeAPMxLUyY8Y= sha256:Wz4NNiwYHa5hCTRSB8/MfF6rsimsDyBHUYYyuNwZSuk= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id B4DBD11565B; Thu, 19 Nov 2026 16:28:44 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SNGNdvDSUnXX; Thu, 19 Nov 2026 16:28:30 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-367025-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 9E6AF11562D; Thu, 19 Nov 2026 16:28:16 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 0358B264BEC; Thu, 19 Nov 2026 13:27:37 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795094854; b=QZTAvMXHlk0NO30fQ1cmLI4U026VS2mPUP4R1GmYqHWhPNu4BCrVxuuFgTtFU4SXF74J P9WYXWHgdLlYZl3Z/xnGzIqOWsM6c/SjyLamsL6+gWPu6f/13UvBhc7hqM/3k8sQe+1St Qo5kiCwH5x+o++6K1T0m6RkWZs4T2w9A/AVdvz9JvbA1iImSKhfIriLbsVkVW/UJ76I3v E89yHhkj05KeQ4UaVlQ2YZa0dRDvbjon4GOin1MQcXJTrHQrB4N4CldiY1e8b2IsxAC7O v1/vCA4VVwCIDmeAQCEcbSNO77mNFvAeLZ6UEb8+QsVdOgW+RzRzhnG8go70JCy1Lsw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795094854; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=6iUGcJ0DFQew68LvzDgPOPMWSLkb/FS70T9kFlbnDQE=; b=Tg5uKFWuD990BIW2mTATiWJxvCUC3WEiYDiY3vSivo4XKur/QULCJIBJJ0TPV6mWvo1P rj8gJ3gx6Myk6PfAZoGr2pn4r0Cz6pkMVnCpcLwI0bnQAcxdeovsLN8dn7EcrxCLyBuYO kLf9VAmvj7ALOq5vl1H8cs1t7OPa0j0tC4z9UbALxfbmgURC8s/RCjbvEvsY2D8peeqs1 yWS8dAue+bxuW165GYG1OvAx2BH6+XqmAp+BCxuKGpeV/3k5q/N5xSoj/kirTrY0cBsGa LJ/cyGjLn5HobUzBXL+Cy7uE6cpAKiRYJqNNEHy45AvIdfiYDbTILBuZYzKcL++VnaQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=tnJgfNPg; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 762BC606A332; Thu, 19 Nov 2026 13:27:34 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=tnJgfNPg X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795094853; b=2rZTQ9uuyqe5Np95y8OWeFH7ZrpYL5vXq7dY7xLjGtus7OJhLbjFaqiAINMiz4EwOECc 0TAyGQcMFrW6Bund6Y2/n6Ny16l2ThyCu34kfkgNg5Go94xXkFzXfFOjH6kyapbb9GDCb eBL9USP0zeD3YY44TFufFrq+otqvKRCduHIXqok0KK6Ddq0y0j1FjYzbRN1dnbLCrlQlM qMk4SDJW0Nk1AWG5N1afV6uln3Z/GuLyGiV/OYlRdd59iE0K62cL+mbNKF3bxsO4rZ6Lh nyUGqv3eYFZUjGfvRbpqvRo1RRdZ3boxMXuixPpbPZ0Iir5JVqrdQUeczfJINi8L7Lg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795094853; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=6iUGcJ0DFQew68LvzDgPOPMWSLkb/FS70T9kFlbnDQE=; b=lZEtAS4deIkFGq5Rfass6t3a9NSIL6EiyBKuFxbsQtx6aCN1e8KMjgmp6IN2iLoxj2SW PA9lHt5m+zSz8QVrai5W5SKZ8SHL5RC45Fj/xiZjevvzwdsoZ8cKS00ZjFmjkb+/NsCaK xqDLwTTPAu3CWsUK8DHs96+aY5QJsrM3CDw8ItONBe/Tk//ceyieqSUbD9LHIQsiC+qsT 0xMOk7ipFvVNrPbXpsR6nECb1/YR/FRg3ZzgrWmtkceWSYOiGPhTWtqcTn+FtKxtt3Q9K W5rli/2H7NYnpsH9O8tBtqo9gx+nNxa2vJs1AsYW8G2pQhs8gjfmlCoj357VxIMf0bg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=tnJgfNPg; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50A08606A324; Thu, 19 Nov 2026 13:27:33 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 50A08606A324 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=6iUGcJ0DFQew68LvzDgPOPMWSLkb/FS70T9kFlbnDQE=; b=tnJgfNPgABFgT1mCF8jbhZQ6Zo W1BqcL9PC7466mrOl9MPJsWhGAQ6v6fdoF9V75b5oLdMSZn4RYZo0FXJFzyo4npITSnam2qKKvnx7 TxnOZOGWweLSn41wC9nwgIx5AKKw4wbRhAUR7gRBQSh+G8L4GvW9jgFSpwFFhi48rvrY=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xU2Ah-0002Qo-0e; Thu, 19 Nov 2026 14:27:27 +0100 X-Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, florian.fainelli@broadcom.com, bcm-kernel-feedback-list@broadcom.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, w@1wt.eu X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <CAD-64DcTO2Vro3QFMizUeOft1ptFgKEK=MgJ-mDf5nVOkFkJxA@mail.gmail.com> X-Received-Bytes: 8331