From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EE67C433EF for ; Mon, 7 Mar 2022 16:29:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244199AbiCGQab (ORCPT ); Mon, 7 Mar 2022 11:30:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244191AbiCGQa3 (ORCPT ); Mon, 7 Mar 2022 11:30:29 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B7269291; Mon, 7 Mar 2022 08:29:32 -0800 (PST) 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=02D2otYguOs3IBNgfEENl7br6jhd4kE5uD4PYiH8JBE=; b=l70l3TVGEiLnrc0oDMbfDtxTTD +spKO4eHhAt8EM1yHdaFqZWPKJIl9H46V+cI1620Z7rz6yNd4SvZdofvmjBtlgebyTZ6u5rSksnQY jpLYsJYlV2+y+1ZAFxdYkl7b/xDAd+znYZ7xjFSSN4NpatlIz9Swu7zq0T6DINeEhXYU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nRGEj-009dKv-9j; Mon, 07 Mar 2022 17:29:29 +0100 Date: Mon, 7 Mar 2022 17:29:29 +0100 From: Andrew Lunn To: Arun Ramadoss Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , Jakub Kicinski , "David S . Miller" , UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next 1/2] net: phy: exported the genphy_read_master_slave function Message-ID: References: <20220307161515.14970-1-arun.ramadoss@microchip.com> <20220307161515.14970-2-arun.ramadoss@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220307161515.14970-2-arun.ramadoss@microchip.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Mar 07, 2022 at 09:45:14PM +0530, Arun Ramadoss wrote: > genphy_read_master_slave function allows to configure the master/slave > for gigabit phys only. In order to use this function irrespective of > speed, moved the speed check to the genphy_read_status call. > > Signed-off-by: Arun Ramadoss Reviewed-by: Andrew Lunn Andrew