Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp287874iof; Mon, 6 Jun 2022 03:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoCbeEjMTHS37cmfqM1oDXP53oipLAy1odwmZNZNBABQcVcpudWJiqeQ/FFWoxJ6x4DMSc X-Received: by 2002:a63:8b42:0:b0:3fc:7de2:7764 with SMTP id j63-20020a638b42000000b003fc7de27764mr20615315pge.358.1654511712989; Mon, 06 Jun 2022 03:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654511712; cv=none; d=google.com; s=arc-20160816; b=wJeL30rQt8Mu6lpGulEGZAW1Puql0r/OxkJgx+wsV3TtwNdbGYqXpm0uvQI5/X+GpV Hsl+tfnYKctP23URcLGI+ui/iz5iaD4lAmnm7EhFk2hf2n48EA06s6XZ0BHNg9zD7Ex+ E6wqI5qQreCKSqNnLEqs/7Fukop7a54ZNMpYpz7EN2S7S+ijBSRv9F6neuZiBf+2iGwI iv8BAoWvl9ybO3rReGgJPfTk3gqfVLilfXQyRo1s5/SMkppOR2RWnVQec+9qnKjTs+I4 uxbOBadBdd1kaF7RS3E0h2ilH8/Tmn2SnKYahV1g706aTlz5Tcgba+VLoImPH70qmy6K /c2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Ipfgpu5IzH7ZnzAwOHbAJ39P38+CzSmLXV6nJ4aaU8c=; b=nbBQv9BQA8zHGfvFbCGGZ795nlPOKAnFNLHUFxVSg0U91mlF3E0JmFta67B95iXthq SuV4UzytZrKsqhrTIPsblWXwU8yn/UU6vfokRaWHQEcE2xO5lM5bJRHQ9KkIzplg61K6 exMuS24OQe0NPppqtSzr9ds5RQIiKWm74gqnczD+lehHpbvx/02t5oBGFoNuSp9Y3M+V sC6plHmcpQ+XmUaQekJowz6m7WzOQpeRo9L76ZROazd2l/wpJVXp4EcrQh3IQ2dJz4mu Hnuzir3A5vb2radG9BToXG4ToikLwlGbib4vXUCb9J/1q9qu6VzD+XrDdRyRQ8aNsnL4 QhKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Zwfyzh/T"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j62-20020a638041000000b003fbc20f595esi20359258pgd.505.2022.06.06.03.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 03:35:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Zwfyzh/T"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8BB50ADBDB; Mon, 6 Jun 2022 03:14:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233665AbiFFKOU (ORCPT + 99 others); Mon, 6 Jun 2022 06:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233648AbiFFKOK (ORCPT ); Mon, 6 Jun 2022 06:14:10 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0393A14916F; Mon, 6 Jun 2022 03:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654510268; x=1686046268; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gZSzdjIX2BvSWabQuJE5Re9N3GWxjm5jrXSz5gYEGxg=; b=Zwfyzh/T/yhXsyFOn6JB9NXLQAywJF5oZTITpCrfr5si3w5SVjoutPAV omgXqm4l90KZw+Xe6lmeVD10up3AbTIe11Md8X12TfFztxVjC3rcW4tkc cF2jaM2JoTf6DaNsZvextQiahkVJZhDQxycpPHr5nOH/m0XM9Si56Z25v 9W//CnTf2jhkwxJ2WdjfsU8DOwIPtfkunne8l0tUi1M+HpBlyKM5G//BK EolscztBam/3HOK2RTOy2DozprCku7RQ0w6f1/kfF/a4xRb9L66zhLM8n S3LFiwwrU9YsSCyHG/ZsrnVbKwIyO97dQUAFYs3k49BQxAmRR2O0iQBCH Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276877483" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276877483" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:10:51 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="722737822" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:10:48 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1ny9h7-000UXR-Gu; Mon, 06 Jun 2022 13:10:45 +0300 Date: Mon, 6 Jun 2022 13:10:45 +0300 From: Andy Shevchenko To: Martin Blumenstingl Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Neil Armstrong , Kevin Hilman , Jerome Brunet Subject: Re: [RFC PATCH v3 6/6] iio: adc: meson_saradc: Use regmap_read_poll_timeout() for busy wait Message-ID: References: <20220603100004.70336-1-andriy.shevchenko@linux.intel.com> <20220603100004.70336-6-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 05, 2022 at 11:59:53PM +0200, Martin Blumenstingl wrote: > On Fri, Jun 3, 2022 at 12:00 PM Andy Shevchenko > wrote: > > > > Simplify busy wait stages by using regmap_read_poll_timeout(). > > > > Signed-off-by: Andy Shevchenko > Reviewed-by: Martin Blumenstingl > > > v3: new patch, but RFC, not always the read_poll_timeout() can be used, would > > be nice to have it tested. > and also: > Tested-by: Martin Blumenstingl # GXM VIM2 Thanks for testing! -- With Best Regards, Andy Shevchenko