From mboxrd@z Thu Jan 1 00:00:00 1970 From: ssuloev@orpaltech.com (Sergey Suloev) Date: Tue, 3 Apr 2018 19:00:55 +0300 Subject: [PATCH v2 1/6] spi: core: handle timeout error from transfer_one() In-Reply-To: <20180403155224.GA11578@sirena.org.uk> References: <20180403152905.1524-1-ssuloev@orpaltech.com> <20180403152905.1524-2-ssuloev@orpaltech.com> <20180403155224.GA11578@sirena.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/03/2018 06:52 PM, Mark Brown wrote: > 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? These 2 drivers have their own "waiting" code and not using the code from SPI core.