Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp146581imb; Thu, 28 Feb 2019 19:02:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx63Js0TBzr0my+UG5LMnBl1ZZquRaewWoZdFGi91+7watN6HjvZrwQQX5wSET/RXxHu8+7 X-Received: by 2002:a17:902:87:: with SMTP id a7mr2967489pla.295.1551409363710; Thu, 28 Feb 2019 19:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551409363; cv=none; d=google.com; s=arc-20160816; b=g5kDjP2qJ9bDCk8t27Npm+dvfN1Z6XRb4IfWpKp24sbZnf6L36ijsEJy6mfOFlJ4jm K2xl/7N7H3aOL+O6fXNqEqcQR58Unxn3ybJhk22uVDVh1Th9/wDD9ViaAYufMQu7sNhj UNemWRBxTsgFZ8lTqiP8amqkLeDowwGuvtyWKVhNcOmIUJzgA1xABDpmWFfSxqW+Kdf3 /BBbHqF+mmuqtrwtoaVscBEb0EQHIEtwCCZDbWnz4NCV5eusokcgonO7fvkACaGfHarB b9h3USNlHOTw9YAywwhXE1nxs1E0ubbvtIAz08zq3awSYiSyYxAJuDoROeLvIdn5HjuI HIlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=k5gahl+siTUjDZFdH6IgH6UwUasZNyRW+BthveTPqAI=; b=ETb6R2zKfaiM7e/44M6A8ggvalQ9SxHaXAyDctfLfzfp4AKERaTPNCbYNLF3RbAI7J 1Zlsd+15mmZYd1E8XyzyF7caDbJIdxrOtViPFckfW/p3dRYgH/CniHtY7lS0s1HB0w9W 22tMiXs4jnktEJQijno07sW+7vgmJwayK9Fva+IL0HlGK2aHV7Toafqp8od9XWSDd9FS FeD3eAEQRm6zkaGBvhZdMIjTK3cWQyLHpk54rZlTAmOU3AmqB3C2KliVZC0fs2N6Y9nz eCR3o1VblDFVTjrFQNmbqidNr3TKDZRXLgxVk3DREl8COx3A8i6c0Mv+8pG5kll9lmOG J91Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pFhRoion; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x33si19477647pga.130.2019.02.28.19.02.26; Thu, 28 Feb 2019 19:02:43 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=pFhRoion; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731613AbfCACdW (ORCPT + 99 others); Thu, 28 Feb 2019 21:33:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:36954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbfCACdW (ORCPT ); Thu, 28 Feb 2019 21:33:22 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4C3320863; Fri, 1 Mar 2019 02:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551407601; bh=Kwke71XTGmX7EGnKWHiqzO556ravtOvwv8Amf8v/rc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pFhRoion3+7LJhC9xFDfeSsXdugfYebV4GNH+R5hlhqX6JzyBltNFeUAhJd6aCdya uodvU6dT84g2ZkATsYChThdypFZDUexVO14B1YGzFQwgvYEWTi5VGI5tSmdeBCS2gC dSCq3fcjADcjvaJrJI0ULSievkimbqlod1+30IPA= Date: Fri, 1 Mar 2019 10:32:27 +0800 From: Shawn Guo To: Andrey Smirnov Cc: Lucas Stach , Chris Healy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: imx: gpcv2: Make use of regmap_read_poll_timeout() Message-ID: <20190301023226.GM26041@dragon> References: <20190220021429.4910-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220021429.4910-1-andrew.smirnov@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 19, 2019 at 06:14:29PM -0800, Andrey Smirnov wrote: > Replace explicit polling loop with a call to > regmap_read_poll_timeout() to avoid code repetition. Also fix > misspelled "failed" while at it. > > Signed-off-by: Andrey Smirnov > Cc: Lucas Stach > Cc: Chris Healy > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org Applied, thanks.