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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CDB6C433FE for ; Wed, 26 Oct 2022 12:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dad7RgVEb3O2ODP/g94QiVMc5q7ApGHbaNbNG7AgBW4=; b=rM6C5KwdCC3UdYxcbVZIkeMbw0 BfPtrclELErsoEADwojSVvuEb+Veyyi9pmVUxhGsgrvh9UEm6ciZEfKWXlNAfeaotC+Mcz/GFoqgj hgWP7kCW96Xsy6mSWW+G7MGzZ4UODERl1aWJ0UJNSx1Mpn7IXKU/hJUuATYL6tx+5H24mUOPu8vjH koWD3Lani2YKi1AIN664URHW/zHNCIwmArpO9kq9pmTQqrsZKDXOSCh8S7x1WIPBzAfw5E7pa1sWA 1TYf0b3xSTioEl2B9iWbyxxJXvLFDGa/OlFpmhk/3x/zbMWdWv1cKsZNZWeftKt4e3Yoor8ma3gW6 7s3Iixxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfko-009EOX-W0; Wed, 26 Oct 2022 12:43:31 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfhO-009Ca4-Uh; Wed, 26 Oct 2022 12:40:00 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B022A61E9C; Wed, 26 Oct 2022 12:39:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2527CC433C1; Wed, 26 Oct 2022 12:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666787997; bh=nZyuqLx+6uxbjW68/34pb1i0VYW3PxBvAZFlwinx2VA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KA7mHixe8OKOC6B+Xwxv6zB3L9nBWHSuxKyQbnYQnGc068pBk2NLmExadnS8jvpFo kAFP2G9+a0TFrLfZT4awiDBxsRa5XzHbsz4d7kXDhBENVbDdxHAqjTfSWIipjXRUxx DgKTOpfiDhsVUtq9NVrbg+0NjZlDTkXeZJyy+DQ2wHBhpMQ9F3megj3JNuMUSpAfIF 89fpc8dBHpJWOzp94kfBIJMtQPCUkeU1X/yGhHBOvhrngrjq43f+bYZFIBecox87PJ 2+EzaYcjhisEArVTBYaHCQENAgRwCkRk82amO+m32cmiP/2H96NYBxi+W7uoomdXo/ z71VbjGFhVNVw== Date: Wed, 26 Oct 2022 13:39:51 +0100 From: Mark Brown To: Neil Armstrong Cc: Jerome Brunet , Martin Blumenstingl , Kevin Hilman , linux-arm-kernel@lists.infradead.org, Da Xue , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-spi@vger.kernel.org Subject: Re: [PATCH] spi: meson-spicc: move wait completion in driver to take bursts delay in account Message-ID: References: <20221026-spicc-burst-delay-v1-0-1be5ffb7051a@linaro.org> MIME-Version: 1.0 In-Reply-To: <20221026-spicc-burst-delay-v1-0-1be5ffb7051a@linaro.org> X-Cookie: Prunes give you a run for your money. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_053959_088436_AE7FC13E X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6748087238173716459==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6748087238173716459== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OiPSywjFVb7KoiNF" Content-Disposition: inline --OiPSywjFVb7KoiNF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 26, 2022 at 09:58:28AM +0200, Neil Armstrong wrote: > - spi_finalize_current_transfer(spicc->master); > + complete(&spicc->done); No, you need to call spi_finalize_current_transfer() - you need to block inside the transfer function if you want to open code this stuff. --OiPSywjFVb7KoiNF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNZKpYACgkQJNaLcl1U h9C2AAf+On8ZkqQcFewrYfuP8Ug1PJmIq/gmECvUtesQ18Y+vaANvc6kZTqPGAYL H/WQkFsjFVQv+tEZLvFbisejDOcA9OL6Z4dnFsE+LFJdz/1typ5OySErgvOVco0N +PqpGoRjI8gy6cy3vdSi2iNHBx70Xp5Nz7yLJayQyALu4+h6WWywuk1NL/dTJ9GJ KSfIEbFcazcMZsPlzeyK6NCSoMZOf3ebU0VLqicsH9ONKjDoaBg9Zs1TZm4hcwlY vWxnN/zejXyOcEfYYYb7JE6oxhv1LcifxtxDG08Vf0JcdR/DzbmUgjDppXZRZF9D o6RTZ26fjdxtWwKIL3IaXI/1cXJWgQ== =9Zpz -----END PGP SIGNATURE----- --OiPSywjFVb7KoiNF-- --===============6748087238173716459== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6748087238173716459==--