Received: by 10.213.65.68 with SMTP id h4csp3672773imn; Tue, 3 Apr 2018 08:54:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+8PElJ6KcypO6zU4GG8mt+UdS/yiNqK7dYa7VXRFbS2Q+0WbC70eyLeuZtJ0lVWT7mcBhl X-Received: by 2002:a17:902:b10c:: with SMTP id q12-v6mr14534777plr.399.1522770858865; Tue, 03 Apr 2018 08:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522770858; cv=none; d=google.com; s=arc-20160816; b=JJdNqCrGtfr5rnyBPodac7TXIcM2mtdvUG2z54A5evYRlqioTHGiBqzvmSRrbdWYhj cyEsArn6U1xRxNJthlgGAoQHTX+NWXVqN9IPonEmHB4GKSXe8bHLbpl1myuxS73dleBw W5O0D4dysAChvbTFLz6Z43lC6Z/xUtlyOLqOKfR6TapVRDBqa9a5pyxV2XHcG5LYQ4u5 SgpzOqohMHcjKh/2EeBiugrhjpeqxUGz1iY0V8ifn9SJYUtlvcOamCskgTh/nU6cVS0S T6drBhnOwY5ufAeD49Zp7ewEBTIVKpFiuU+KC2SQM1loB/0PN2yMGGbFYbXQLMA3cZVX PLhg== 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:dkim-signature:arc-authentication-results; bh=k9DLi4JnD4RJ6+41xad7wvUlicn/BfwHnfZm6pDizCg=; b=PDWHrtqQV52MhfZFyrniT3GGU8vp6x2mCHRIF03H4vhI2pLmtBr8Wx3+GPJ0SQTKJi 3ai3bxXONGwOPkZiljQuGcrYgY3TyBCK89fHxyP0v0hbQGgB+h5Cf6g16GudhpnvtkjC ogNgUcfgaIr1Uu4ugnD5cGGDx6U/b17WXQLIrYgzCXuI0aBNXkjzSCXWUxALkyF7NnsT pVYvWtmhJrZ0yXk45pxZ6RW9wZRV5xgvnb+mvvfzE1YV7itsbyVtHahzaShdZLyW9G1t +PBWfDqi/zy+tgxnyeHLBFp/gIeGhNIUs8ilSebpJ8U2lYd1j+ExHXWSfF/6JGg5EhFA Fpmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=o0nfMium; 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 x16-v6si711244pln.303.2018.04.03.08.54.04; Tue, 03 Apr 2018 08:54:18 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=o0nfMium; 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 S1751897AbeDCPwo (ORCPT + 99 others); Tue, 3 Apr 2018 11:52:44 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:42458 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649AbeDCPwm (ORCPT ); Tue, 3 Apr 2018 11:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=k9DLi4JnD4RJ6+41xad7wvUlicn/BfwHnfZm6pDizCg=; b=o0nfMiumF1WISBtgKVaeCVSVr 7V6K5hkFRWbODd48DYLWgojogubVEiowX+iT+9xWsjf1C5PLd0yDel3V0HGopO/7qP5o9wYKLcxgN sUimPiy3708bRP4acY6Qbae6sIjc6vzl3+wlyPC3qpaiYaW2W1zAXSe34jfwZjo7C9eSE=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3OET-0004Kc-7f; Tue, 03 Apr 2018 15:52:25 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f3OES-0002o0-Gv; Tue, 03 Apr 2018 16:52:24 +0100 Date: Tue, 3 Apr 2018 16:52:24 +0100 From: Mark Brown To: Sergey Suloev Cc: Maxime Ripard , Chen-Yu Tsai , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/6] spi: core: handle timeout error from transfer_one() Message-ID: <20180403155224.GA11578@sirena.org.uk> References: <20180403152905.1524-1-ssuloev@orpaltech.com> <20180403152905.1524-2-ssuloev@orpaltech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20180403152905.1524-2-ssuloev@orpaltech.com> X-Cookie: Cynic, n.: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 03, 2018 at 06:29:00PM +0300, Sergey Suloev wrote: > As long as sun4i/sun6i SPI drivers have overriden the default > "wait for completion" procedure then we need to properly > handle -ETIMEDOUT error from transfer_one(). Why is this connected to those drivers specifically? --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrDozUACgkQJNaLcl1U h9DiiAf/TxkH07nauiAh1vLXq1Cgu4J0BnUFgZLNMuEr7efgpYGxPmJRsvuSMVJp uJWPVl6WsI4xnogwnz1LwzOGJ65BJx9RJYvDf+I9Gq6Y1tvAA1qJMlnGjTyGSD35 +VG9+jDfSv0kwmR+Fawf6i4Yzod3VBIRnWVg1E8jSIFSf7yNx17fJ7XBoqwMKGBT 71RtzHLbKdtkPj98nr7hZcUoytB7qDZxJw6NROZDZzZXNGA0k5OtioTXbKJGnCkn LpitfZWqKPSQQ1B6/2sUTjXEX8nJw7LWVvAduiq8mzongCkicJlEwSurjZ7K8UcW m3Apg9c9OGAa65v4GOLC1lEcQkl88A== =zoIV -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--