Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2828772ybb; Sun, 22 Mar 2020 08:39:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv+cUtvlQ2s2WJIf5/gZd3TLMLTKBKWobuFoOGVcHs7gEXDiAo7lnuKIXoiD+ZW/+7KSpmu X-Received: by 2002:aca:4997:: with SMTP id w145mr14479746oia.58.1584891589609; Sun, 22 Mar 2020 08:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584891589; cv=none; d=google.com; s=arc-20160816; b=wIM0A+UhluGMFnaPbestaj3RDPyQLlsMkdzVttvKpqJtt/6W2dhLFMhqHp//oMHrAp WOK+1L+Az7sIP2vi2fcqI9DP5S9wE5sjuG/qWdn7Vf4PogGaQ/7gC7pJQu6wgiNkH/Hu fPDQ36mP8iyq2tVjG8IBb0zIR3QK5evJXe66fc3NVjOZ0n9/zBAqq7VQ/eTzqapEnP++ 3FrvdxS4Z7OmS6q/aluzDkxv/hiPmM6p9zRTaxWauRS97NWQkS5I1ejpv+PEfI9HtnoT V1waUdytQiej2IWT2W7Ov+5TTIKvfJpNcxV3k5+HY7RNCFXEvEHzr/3rvzjXdIPaDKyc XzxA== 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=7b9TqGeDRxElo8OqCp7gqOuYwOecedeDhutw75tZcS4=; b=dX0ftWs8E930zY+l26c6r3LaBH21X0I4azD89YmG8kE2N8Ve0iHpjb7Ti9YpmCm0u2 WyeBYwrOjLX/A8f0DGHzUoYI1c8Mx1fyYks/qfClSAEJV0jwI1lyts9dR2OACeUYjzab C4hLmzcyE/lmlVlGY4yK4wvqlbQyilc8kW+h/Cb0bgvib8jtlgRf2hw1B6X7342dfCHe mPUmk3l8edK6lXqjJyzBtkhuxA3F4JLBOfuPyuDScGBtSELnp99Y8XE/suL7oBwm9OR8 VrnOx1kDuYq5Bm332eFU/16bDqE7yPB++4YAYruw56iJh6z5UIRzAr7shTUxS2yb+pMZ QMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=e2qIMKl8; 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 p15si3619772oto.160.2020.03.22.08.39.35; Sun, 22 Mar 2020 08:39:49 -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=e2qIMKl8; 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 S1726901AbgCVPiN (ORCPT + 99 others); Sun, 22 Mar 2020 11:38:13 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50344 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbgCVPiN (ORCPT ); Sun, 22 Mar 2020 11:38:13 -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=7b9TqGeDRxElo8OqCp7gqOuYwOecedeDhutw75tZcS4=; b=e2qIMKl8sAY6Tzbuwuo61qJmvH CrZwXDmPbjPH85tW+RHISh4Cb8/p7OZjJnCCXKuXuvf/Xli4le0AuKeahxSgn5f9rVENsaGM6VsCe /EtsNFJgvLEPICUEhJt4YxDGfqffUi0YxaKA4k9pEBvvghThYA/QC/2pC/UAEnqSgDL0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jG2fs-0000ac-Ge; Sun, 22 Mar 2020 16:38:04 +0100 Date: Sun, 22 Mar 2020 16:38:04 +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 7/9] net: phy: introduce phy_read_poll_timeout macro Message-ID: <20200322153804.GP11481@lunn.ch> References: <20200322065555.17742-1-zhengdejin5@gmail.com> <20200322065555.17742-8-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200322065555.17742-8-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:53PM +0800, Dejin Zheng wrote: > it is sometimes necessary to poll a phy register by phy_read() > function until its value satisfies some condition. introduce > phy_read_poll_timeout() macros that do this. > > Suggested-by: Andrew Lunn > Signed-off-by: Dejin Zheng Reviewed-by: Andrew Lunn Andrew