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=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 C9929C433E2 for ; Fri, 15 May 2020 12:41:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3EEE20759 for ; Fri, 15 May 2020 12:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589546495; bh=hMPK6q3eUtJxBQ+2esxAxFRSSLe+V9kh3wpoNhsQ/5s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ecQUmFM1qTswQySuzLzBqDZipWvjbndU3ycf78CFUGApXfdw5ULus7jnN4Kdsgerp fLwNJ+uSsnApAAtxUG1xyuH97Qg87qH+hi6KIEZMuYYCDnk41S5dOSBhjBIRtDdPFn 1e0OpPgLM3JdNOVZKigNo/d/oYx9JChIqzlGrtUc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726197AbgEOMlf (ORCPT ); Fri, 15 May 2020 08:41:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:56608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbgEOMle (ORCPT ); Fri, 15 May 2020 08:41:34 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (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 4D5242074D; Fri, 15 May 2020 12:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589546493; bh=hMPK6q3eUtJxBQ+2esxAxFRSSLe+V9kh3wpoNhsQ/5s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x2Cd8itMuEBuL3bi5iQnvOyhHUd2e9Tk3dY/F4FbBEazLtSOrXMVP33Z2bDBQMU0z LeCYbmTumiKrCF3jLJSLZ0Np/GWA/lB83/wj15vIT8Zo47J6x7Fz5mNFxDxFZDQqBJ +qxdyLrnnv9JiMOGk/KYJca/1dyUD6TyrXCLp/e8= Date: Fri, 15 May 2020 13:41:31 +0100 From: Mark Brown To: Andy Shevchenko Cc: Serge Semin , Serge Semin , Georgy Vlasov , Ramil Zaripov , Alexey Malahov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , Arnd Bergmann , Allison Randal , Gareth Williams , Rob Herring , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, Jarkko Nikula , Wan Ahmad Zainie , Thomas Gleixner , "wuxu.wu" , Clement Leger , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 02/19] spi: dw: Add Tx/Rx finish wait methods to the MID DMA Message-ID: <20200515124131.GE5066@sirena.org.uk> References: <20200508132943.9826-1-Sergey.Semin@baikalelectronics.ru> <20200515104758.6934-1-Sergey.Semin@baikalelectronics.ru> <20200515104758.6934-3-Sergey.Semin@baikalelectronics.ru> <20200515120111.GV185537@smile.fi.intel.com> <20200515121815.GB5066@sirena.org.uk> <20200515123702.GA185537@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UnaWdueM1EBWVRzC" Content-Disposition: inline In-Reply-To: <20200515123702.GA185537@smile.fi.intel.com> X-Cookie: Avoid contact with eyes. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UnaWdueM1EBWVRzC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 15, 2020 at 03:37:02PM +0300, Andy Shevchenko wrote: > On Fri, May 15, 2020 at 01:18:15PM +0100, Mark Brown wrote: > > Well, nobody wrote one. > spi_delay_exec() seems quite good to be used here. > Can we use it for delays? I guess we could, though it's really there because for historical reasons we've got a bunch of different ways of specifying delays from client drivers rather than for the executing a delay where you've already got a good idea of the length of the delay. --UnaWdueM1EBWVRzC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl6+jfoACgkQJNaLcl1U h9BKTAf/TvLyXpdq3y47lMcIJW0azlHSYYpsjhk7KL7FYaThbTENaUIDlLt6vuWn Ey1uwQIbmiCXbW0QRmecmmGvMmi9Ws1GOgI0m+mHGP8R/1heZllkp2SV9SQ92LBP +I/oHQFDs1ZgJEQT7Iwoi+ebHZo0znU6hlwqqinSGF24Js9RWwlgibv7ZAvXqRmz /FkzjpS0NngqX4zK1zwKhATuAQ4mov+VyD5nTd+qh627S/ZzbvJ6Io71ysv+HvZv 4Ep3N6G0dKgnw2r0n78AAgmXd3GvhPjxA9an19Uq24tk8BqCRH4MJ47Y3XitbTlg hTiDVd3ieHb+88LR17aMP0M0Oq82/A== =Tx+Y -----END PGP SIGNATURE----- --UnaWdueM1EBWVRzC--