Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2757163ybt; Mon, 22 Jun 2020 06:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8XRC83Tvz68Y8fO+wji16RdJAwwNEdocr1BET1qyh5I61snn7zKg1cOs7Jbx9Ii2VwS5p X-Received: by 2002:a50:d785:: with SMTP id w5mr16443152edi.212.1592832083420; Mon, 22 Jun 2020 06:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592832083; cv=none; d=google.com; s=arc-20160816; b=r12JktILNsoYLiF2xPCQGsd5hvEhIilrhdppOH5q549prnDJdYtei9HsIeUsnnH33b RXpXJJ3weTRku9ChRqThcB2YucIU3COb3bN0to28Rhya2YhO7CiaIa31neIDGy8zdSog vaAghMzRZR4ZbgXZPS4FkmXWMBnsVqXjzMV/fr/SVMme5S1/zFY+o7h3x45/jxjy9dlS LM6jLdlPGajIKOk9ztAmdCXNo737zzl7n8WOEIzCPxgnNp2KgziPc4pLkH/mzzrn6UqP cgDMUIe5a/KPvANFNXLpNaAoOwdgS0+tRci9tKSmUW6MDHwFKILWhKx5aV3Eh04GzMA7 A5Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CObhU9lk8ML2RnR4lD6xevRqScUXS0GlLXMsWsyU6AY=; b=vUAoyAgp0d+rMmxEDOzLwFaAoUmZh/bjlizJA3co0z8jRUIQ7PMsVRwl8qGzuhsbZ1 q6tZ8p1+lyFlWQvnhm75bnEZgtPORtbvW9wlRLI/QxyOX37jKTwJhx03rB0IxZz/IXo5 9uove9niR06MoTOABNYi/qNszRB0QzcnhcXvvaJ9p2EXp9xc3cqp5WZt2xhXZEfBzdBm ieYUacnZEL5fWR5Uy840z95uFdZp46YTX0zyMeBsF8kbjkjgoBQ71XdhQcovfV8hqnqY tHJxPAqBkjdzcnI1nBi6BipuO1uBZjnAd0nrdOqWan3Re063fJPr0Oxy/fS2cNAyCxNs QlOg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce15si9479425ejb.631.2020.06.22.06.20.56; Mon, 22 Jun 2020 06:21:23 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728804AbgFVNTC (ORCPT + 99 others); Mon, 22 Jun 2020 09:19:02 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:51990 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728010AbgFVNTC (ORCPT ); Mon, 22 Jun 2020 09:19:02 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1jnMLW-001fF9-Kb; Mon, 22 Jun 2020 15:18:46 +0200 Date: Mon, 22 Jun 2020 15:18:46 +0200 From: Andrew Lunn To: Bartosz Golaszewski Cc: Florian Fainelli , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Matthias Brugger , Microchip Linux Driver Support , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , Vivien Didelot , Tom Lendacky , Yisen Zhuang , Salil Mehta , Jassi Brar , Ilias Apalodimas , Iyappan Subramanian , Keyur Chudgar , Quan Nguyen , Frank Rowand , Philipp Zabel , Liam Girdwood , Mark Brown , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Fabien Parent , Stephane Le Provost , Pedro Tsai , Andrew Perepech , Bartosz Golaszewski Subject: Re: [PATCH 06/15] net: phy: mdio: reset MDIO devices even if probe() is not implemented Message-ID: <20200622131846.GK338481@lunn.ch> References: <20200622093744.13685-1-brgl@bgdev.pl> <20200622093744.13685-7-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200622093744.13685-7-brgl@bgdev.pl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 22, 2020 at 11:37:35AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Similarily to PHY drivers - there's no reason to require probe() to be > implemented in order to call mdio_device_reset(). MDIO devices can have > resets defined without needing to do anything in probe(). > > Signed-off-by: Bartosz Golaszewski I would be surprised if there is any MDIO driver which don't have a probe callback. Reviewed-by: Andrew Lunn Andrew