Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2654668pxk; Sun, 6 Sep 2020 08:27:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzexYU6c0m2vGYz0DN1RS6Cclwk9f7/WEzIcAiaApKMI5kvOxUX0OZvz8rJJszZMoumePL2 X-Received: by 2002:a17:907:64d:: with SMTP id wq13mr10828599ejb.513.1599406025231; Sun, 06 Sep 2020 08:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599406025; cv=none; d=google.com; s=arc-20160816; b=dI6KWP7gMJKWB1ppgkb/n8yWX5rlrQNWLkvatQbQPaZc+xluklFhYoSJqBgWdG3UqD Bi/bsDjXxkk2zNBj+Ap004FuH8QUdQocKw+tvtITSr0qzg7DWtMz0TdE+wK1Ff46fUQK YZAxUXof+jExT5uHpwueRKxFKPw1qfmnbg7uMh2SrgynRWr0IJQ0UbbdaJotsGaJBEMJ oZnBpcKpw0nDT7tRXX/l6ALfKxIBSFAcM54DbZUEwyCpe1y5ecQHn6zzMw/u3XhL2j8d w8jUgoziuy6aU4mztvw1khHnCT8OC+7ugt9tvIHBCDImmjCmIVVaW73SuGFHrr7SbPe8 dJIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=PENGcw10Y4AS39xj/mv8jnVFoZOwqT6Y684BlVOICa4=; b=teiWDbkb46tVXnekPHM/qIz9YD8hpwnrs5hlQk1XHQaGrMlDxKha+TXqe4UG0iVWOS K6PshVQWr6gjSFWxFIn8K9b3EUj0pJYnOUlTMDkaxpUteTEEZN/Q+a+VN3itHFSMPLsd s4ozYKsC5jwhmUEQspi1W9bh5wJWmxqWEcKDTKaX18TY8yDoQIxQ9PtBU8wIJ3sMqqzw bwqEh1Z4KACHBkJwAMwubSUzOcRMPasOPuYGrayAve3gn6wcc2Eojk1N2xwJTcoFhgdn tEdeITEGA/L9gcjuT7fJXvfTYvbYv0oc10gFhKuD9ER/8mRt2FeMRLiOumMGI6xKS7Vj Mj4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MsPAbUlt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id h23si7784282ejd.576.2020.09.06.08.26.42; Sun, 06 Sep 2020 08:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MsPAbUlt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728936AbgIFPYq (ORCPT + 99 others); Sun, 6 Sep 2020 11:24:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:44514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728971AbgIFPWl (ORCPT ); Sun, 6 Sep 2020 11:22:41 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C263320714; Sun, 6 Sep 2020 15:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599405759; bh=A79A9Iqg7IapUO3QuOtEmzHrXji7k3atFmJOwoO3ZbI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MsPAbUlthj2WrDZfz3AwTEVTgUeS5QLL4onmQlHQBvaierE/ZG7w69rPpApjAde11 kCVvkMdf1lYhguEoAv/mE56+dUFY6uiKMZuUdXp6isQkmK7GEge72WmSrD/YF7V+uZ g6ft6VM6XhwWkhTZ+4WL7gTPOhy2CPBPxn408L94= Date: Sun, 6 Sep 2020 16:22:34 +0100 From: Jonathan Cameron To: Daniel Campello Cc: Stephen Boyd , Douglas Anderson , Alexandru Ardelean , Andy Shevchenko , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio , LKML Subject: Re: [PATCH v2] iio: sx9310: Prefer async probe Message-ID: <20200906162234.4a829a0a@archlinux> In-Reply-To: References: <20200901081920.v2.1.Id02b2f451b3eed71ddd580f4b8b44b3e33e84970@changeid> <159897502625.334488.7103007623601336114@swboyd.mtv.corp.google.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Sep 2020 11:01:29 -0600 Daniel Campello wrote: > On Tue, Sep 1, 2020 at 9:43 AM Stephen Boyd wrote: > > > > Quoting Douglas Anderson (2020-09-01 08:19:43) > > > On one board I found that: > > > probe of 5-0028 returned 1 after 259547 usecs > > > > > > While some of this time is attributable to the pile of i2c transfers > > > that we do at probe time, the lion's share (over 200 ms) is sitting > > > waiting in the polling loop in sx9310_init_compensation() waiting for > > > the hardware to indicate that it's done. > > > > > > There's no reason to block probe of all other devices on our probe. > > > Turn on async probe. > > > > > > Signed-off-by: Douglas Anderson > > > --- > > > > Reviewed-by: Stephen Boyd > > Reviewed-by: Daniel Campello Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to poke at it. thanks, Jonathan