From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=80.12.242.22 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795716863; b=v1BcNtNRyrrkyEiNNthRKMKvtqFSTl40fY/uvFd38+qnDpvK+Cref6d+/fiqA6zrWaA2 smhLmtnpM16Vvzrxfy/rKzhJ0ZNOkseu0R90COY48Rcrgva2NKH7jBVzLOD2eBtXHPnOt IRI5YnRErd6mZCk9Gu3NssW3t7H4GxGIx3tfNrpo401/EWIehCTHKOTIoKjW1g5zAnV75 NyHz6IosWAA+k3ekHU4eRP/UGhZSwXEcbK/b1nI9ZBbKDaWQffn7G8l336NzQJRJw0nGy bQ2CzAa7RgYIMowVDI+2cHevTdsPSp4SC5QiodwJJCVM4ztaFmReyCrxULGlujlw5JA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795716863; h=DMARC-Filter:Received:DKIM-Signature:X-ME-Helo:X-ME-Auth:X-ME-Date: X-ME-IP:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc: References:From:Content-Language:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=kbN11L871pCe6lOyfxUYgKbNRnDIUmonmkFHXq4QE0E=; b=AttaTpmNpGcF5JtlDNeXCFTLMh1zUfGBZOIlBMMZTficP788BMVwiw7kzBsyi3T6dTRQ nCXN1O+VBDQ0a/nNIHVA877bnHEmQyVlFuzq1oKilnFFpxU3zmwZyKQLcrJ7hmh3chrGx zBps/e6iWqhH2be2GpfPaIk0uh5Pa7lZW80r2583oW3DKB6nnWlw1kFNeP2FjyObLpqgc SmhFJG9m5dhDTXE5ZZyFPYv+Dr79r+6FuPae4LKdWYKjwCYZC7/pfRF5sH88AUKp5L6tu Zv5GYJNAr4yg5A2Ig7KJU8tF2bvJ7BNOnIXlWr9hTTo4/nnAMo0KUPeRqTfXaScQtXw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass header.d=wanadoo.fr header.i=@wanadoo.fr header.a=rsa-sha256 header.s=t20230301 header.b=fpJGPPCU; arc=none smtp.remote-ip=80.12.242.22 Received: from smtp.smtpout.orange.fr (smtp-22.smtpout.orange.fr [80.12.242.22]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E766606A31C; Thu, 26 Nov 2026 18:14:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1E766606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.a=rsa-sha256 header.s=t20230301 header.b=fpJGPPCU Received: from [IPV6:2a01:cb10:785:b00:9f13:a1ff:dc18:901b] ([IPv6:2a01:cb10:785:b00:9f13:a1ff:dc18:901b]) by smtp.orange.fr with ESMTPSA id Wdz1xQ8dhHbsgWdz1x5e38; Thu, 26 Nov 2026 19:14:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1795716855; bh=kbN11L871pCe6lOyfxUYgKbNRnDIUmonmkFHXq4QE0E=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=fpJGPPCUHVlLyPal9nCh70/eYtyiZDXrH7PcXM48YO54fAJt8UWb5m7kxSSJXsHNq jeT28DtcSE+RkATaF419q9euEvr6IbuNggUBklmAKzFclXkVV1uKvMVfRjnzzIDeTn FpGx33DyurGbe52TCvppf4zWnmnPVxq0cmQ/+uIdGsu0S85ESh5dgGac5JRvP+LbJE ftNrtrb03/gKAY0xFmIn1+c7MbxH6f6WlwPVApeGZ6IvA8AOb8AGVlpNPoxyn0ejIP CtJ5Cdv326AwyQQIo6OWi5tmQmJXgPoQpuaBYxugwwgbiIpNF+STxhFdRgBaC7AWic RBK2s26JCuGTw== X-ME-Helo: [IPV6:2a01:cb10:785:b00:9f13:a1ff:dc18:901b] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Thu, 26 Nov 2026 19:14:15 +0100 X-ME-IP: 2a01:cb10:785:b00:9f13:a1ff:dc18:901b Message-ID: <554da672-05c1-43f7-a3ac-a24c6e4a570e@wanadoo.fr> Date: Thu, 26 Nov 2026 19:14:10 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bcm63xx_enet: Use devm_clk_get_enabled() in two probe functions To: Markus Elfring , netdev@vger.kernel.org, Andrew Lunn , "David S. Miller" , Eric Dumazet , Hemanth Selam , Jakub Kicinski , Jonas Gorski , Paolo Abeni , Simon Horman Cc: LKML , kernel-janitors@vger.kernel.org, Andy Shevchenko , Florian Fainelli , Frank Li References: <603d7ea7-5d7d-49c4-a01b-a7805e88c361@web.de> <9c26b213-aa58-4c27-99c7-926c6b4d5275@wanadoo.fr> <206466bf-7ed1-41eb-b74d-6f680ab449ea@web.de> From: Christophe JAILLET Content-Language: en-US, fr-FR In-Reply-To: <206466bf-7ed1-41eb-b74d-6f680ab449ea@web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 26/11/2026 à 18:36, Markus Elfring a écrit : >>>> Your patch is related to bcm_enet_probe(). >>>> >>>> See L1754 and L1791. These 2 calls are related to 2 clk_disable_unprepare() calls in the error handling path and in the remove function. >>>> >>>> Why only update one place, and keep one clk_disable_unprepare()? >>> >>> The ungating of the item “priv->phy_clk” depends on special condition checks. >> >> This does not answer the question. > Would you find further clarification approaches more helpful according to > unbalanced clk_disable_unprepare() calls? This still does not answer the question. > > Regards, > Markus