Received: by 10.213.65.68 with SMTP id h4csp398553imn; Tue, 3 Apr 2018 23:54:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx48CVhU77JVU8za9yKqyhsPnws71EEQ11sNs6kF1UVN3nvCDMCtQiOPSnycDTj2fqdFsO9lA X-Received: by 2002:a17:902:7784:: with SMTP id o4-v6mr11688497pll.163.1522824871152; Tue, 03 Apr 2018 23:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522824871; cv=none; d=google.com; s=arc-20160816; b=d4Hqh9B9FGHG767o3mI0u21heXs5wEHZ6El17nyVdeByXgzkW0/uuzD3Wm2+v+9g2S REHp/GIXtkpgB5NjnPjjI7SkYpCxhaign85opQgNGcEEaJtznoYXGn7vUiR0hC0cmhgh jEoZtmClNPNMIg5AC757c62tJw7VLwkQ/r9lvt9ZQcE5CVgGgx6DOxqeXxmqA5bttuAK 7h82YBKZZ+OT/hC9SQJw4VjUgbQes4jvBWgOJmAWTeWAAJCpNo+X0LA8XCxGT4E4/bDy DKYpHrcys+M4/W50DcvsUfQQo0sibD8x+1nCDjrMICxQTwgcIVks7Mz50LCYwequCOv5 FZcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=HpqccS2AwmSjHNcGKP3N4G3bSjfnQeVoULlXdCFojQ0=; b=ZKgJ9WPQFL/fiw1x9kbouohCTP563fXKvGdiWN4wLQfeyMS5OAUTZrTj5v2DMwBVn3 cX13GxeY9G3VI6TWDEFj8EZNrKzlTCKoKiK9HzF6bU90Xa5lVTULz+jycKwzAmCKaOfK 5C1aJNZI2twi0urGjKd7OI1UMlfnZyygVw9hQVYBvfMjU9nLhicDISU1ag0ayoB/1gqt yvZwuhlWjkS+wSXDv+EWeZVUMONTH37DEbkRw4HOvOkBLBtgUAeUEJAeUvPhYlGK0Fy8 xnqLiJyXfnb3mvtWVlws2OVQd/MUez410gVEcS3RHPmCLSgGors7hqvyQ3x5fvO1P/ns ck8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si2673474plm.19.2018.04.03.23.54.16; Tue, 03 Apr 2018 23:54:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751264AbeDDGxE (ORCPT + 99 others); Wed, 4 Apr 2018 02:53:04 -0400 Received: from mail.bootlin.com ([62.4.15.54]:37852 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbeDDGxD (ORCPT ); Wed, 4 Apr 2018 02:53:03 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5AAA2207A4; Wed, 4 Apr 2018 08:53:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 2C00A2070F; Wed, 4 Apr 2018 08:53:02 +0200 (CEST) Date: Wed, 4 Apr 2018 08:53:02 +0200 From: Maxime Ripard To: Sergey Suloev Cc: Mark Brown , Chen-Yu Tsai , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/6] spi: sun6i: use completion provided by SPI core Message-ID: <20180404065302.kq5uuybi4n4s3syr@flea> References: <20180403154449.2443-1-ssuloev@orpaltech.com> <20180403154449.2443-5-ssuloev@orpaltech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4mcen6okihu6dx5e" Content-Disposition: inline In-Reply-To: <20180403154449.2443-5-ssuloev@orpaltech.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4mcen6okihu6dx5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2018 at 06:44:47PM +0300, Sergey Suloev wrote: > As long as the completion is already provided by the SPI core > then there is no need to waste extra-memory on this. > Also a waiting function was added to avoid code duplication. This would need to be split in two patches, one to add the waiting function, the other one to convert to the core struct completion Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --4mcen6okihu6dx5e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrEdk0ACgkQ0rTAlCFN r3QRbA//WwutpY6L4PvCzTsynlQcfw2t+pguHr3e+iqcmvOf8hDJlwosdqH9dyEk 2TZRp9EL6wNHdIHF7lWDT66eyGKR1oDItwJqS7mbhZhNaFMVop8V3zvy1GHNNDDI v80zjqCJnj6Fli3+8aKO53sWqpoCPbrM27kOyj5O3ozM1jeLvsZNlF5mJLxmSy6E uGHTWjp00Fwox/qf4R73IF8AwRXtJjHjr+B5FVFl5gkkxCep2QbEdcOPIN/DTeqa yLNCuZfV7INok/lMlhuSDAo0TjBFvtX8OCGWPQKFVjhbFc8xDmEyMmERIuO4BGDn KAeo8YJmVb9LuHmLgCM2JWP2jo/Ej3/uyOLywiLk3Y0h+Bi0lgewDjiO7Wp7D+Wu dP3WQ+WD8/2nvHWy+5q/wBrCLaj27PxFN4kepKKlczEVJHEhmFvM4/hE8a8XADkJ e/bxwhOty+cflJFqbMmbvj9WgFjVJHF+RVpi4FjCSCVxz8TqPhjO8iK9XlnSGYVc z+wuE9eKyzYcHG7qCd6FtqkcXrFRKU9uWAdKl1jbid89NzpvGPspfgml2EqRjOuJ vTjqxIeqmZQZvCJGFDnVrjvCqkAVDmBtcVkIj47IaHeYPT/Layt3lKLLGNZRJc0v nw1YyTLgVB8a9wCDiD+OtMnYwYRhM7eNl5OGfUoU8lZXR1FnIfA= =pphr -----END PGP SIGNATURE----- --4mcen6okihu6dx5e--