From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DE1EC433E2 for ; Sun, 6 Sep 2020 15:23:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D86220714 for ; Sun, 6 Sep 2020 15:23:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599405824; bh=A79A9Iqg7IapUO3QuOtEmzHrXji7k3atFmJOwoO3ZbI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=JLs/+7EWuKExQfR8iH5nLp+pGfvtrH6j91QjngfXDtrHNfJW3Ht2T/sdwy/35XTcm ulnuP8nY3gFmUDHalImnWnEfxm6FKzlPJ7cA42daeDk9Mesy1LvNqmCSorPz0T3rbS S6NLdNewO51n9pzWeIzgZFjD1OgtOuGz2r5LWo0I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728993AbgIFPXP (ORCPT ); Sun, 6 Sep 2020 11:23:15 -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-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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