Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2824067ybb; Sun, 22 Mar 2020 08:33:00 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtvMF12/GWCdAGYns6GfuxCuwu8n6oM2oEs0XKLanQoARhf39hjGc9M7fO6FimTUkvyMnF0 X-Received: by 2002:aca:dc44:: with SMTP id t65mr5899111oig.176.1584891180865; Sun, 22 Mar 2020 08:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584891180; cv=none; d=google.com; s=arc-20160816; b=WHMGm5WtVQpsyOab+usTmwsC7r8GmrLBKATWdYGT6tr7iy5baCkB+adKt+Gq8Vovmu K2/ZnvKpU4e2DTGdxopMLotnjcfvlkOC0bUH8zH+PAVu2Z2oaW1G+KSHdLLxnLH+JCPe nM5dju5jpzCmyO+V9rtEIWjOVAdeW/1bbg/Rxug6dPmnXxyCIXih2yVrNqQS12jFG1PF vxhqYNQjlEx95SKs3Bcz24mwu+HR2TB3x7eEJyzgGwB3NSGEF49vOf4ox/OQ4lUIfuMv Ut1YRYfPcjklxa/C8gfRd3FEtMzr8ihCT9k/RkCujnMNmbMGj54fu6rjNlZmR8Uspzvz wbrQ== 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 :dkim-signature; bh=GBWLiXIetq3iao8NDSJX3RHDoOSCZXvAQ79NXJI3pU4=; b=0dEeegfbSKacWg5g4OYC9sCRL0JumOHOws9PvamTMJ6JGojZnZ55GV4kUWKvrYeSTR kcNI6VnkTVv7ve6SxG1C4J1nhoX3c4Z+maBS2GbcsKlch744Qvk0QB6LFlPr2TGQRGkY QvdeSf2cB4FKiaKcgE+OyDn7ViKzw9fpKtR7ESqJWLhtLIlOPyBAwPTyrjGlKaPNMyB+ lmrLMhjarIX4bufQs3xHC4R2NZcrgPmj40arEepCxvlPbqRLlE5qyvpDd5JDMZBjTgII yI8UPm5Bs8HX4i2sG7iAHU4n5SxC7lDwg4Uz26af8pv2a52D5pUR+DDGk2A1CxndgCdJ Hv6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=QuGeDcVU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si6158517otk.286.2020.03.22.08.32.48; Sun, 22 Mar 2020 08:33:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=QuGeDcVU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbgCVPcb (ORCPT + 99 others); Sun, 22 Mar 2020 11:32:31 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50272 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgCVPcb (ORCPT ); Sun, 22 Mar 2020 11:32:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GBWLiXIetq3iao8NDSJX3RHDoOSCZXvAQ79NXJI3pU4=; b=QuGeDcVUuQu0X4v6OZsefCf1dK tW1pNgnyYig8X+MjXohsFrtevqx9re+dNpQTw+xTlR7q6L5iMz4SqJ0BZS9ssV8LceXOob2qYFE/Y pXN4MXJ/0r2BnCh4PYHyaoPIXBOF3lCAnzLV6HH51+s5KcNrE/wXQmX7FNit14xEAMnM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jG2aD-0000WM-7K; Sun, 22 Mar 2020 16:32:13 +0100 Date: Sun, 22 Mar 2020 16:32:13 +0100 From: Andrew Lunn To: Dejin Zheng Cc: f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, gregkh@linuxfoundation.org, broonie@kernel.org, alexios.zavras@intel.com, tglx@linutronix.de, mchehab+samsung@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v4 3/9] net: phy: introduce phy_read_mmd_poll_timeout macro Message-ID: <20200322153213.GL11481@lunn.ch> References: <20200322065555.17742-1-zhengdejin5@gmail.com> <20200322065555.17742-4-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200322065555.17742-4-zhengdejin5@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 22, 2020 at 02:55:49PM +0800, Dejin Zheng wrote: > it is sometimes necessary to poll a phy register by phy_read_mmd() > function until its value satisfies some condition. introduce > phy_read_mmd_poll_timeout() macros that do this. > > Suggested-by: Andrew Lunn > Signed-off-by: Dejin Zheng Reviewed-by: Andrew Lunn Andrew