[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7fb8e635-ef61-0773-eadc-7a5723740df6@linaro.org>
Date: Wed, 26 Oct 2022 14:48:07 +0200
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Mark Brown <broonie@...nel.org>
Cc: Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Kevin Hilman <khilman@...libre.com>,
linux-arm-kernel@...ts.infradead.org, Da Xue <da@...re.computer>,
linux-kernel@...r.kernel.org, linux-amlogic@...ts.infradead.org,
linux-spi@...r.kernel.org
Subject: Re: [PATCH] spi: meson-spicc: move wait completion in driver to take
bursts delay in account
Hi,
On 26/10/2022 14:39, Mark Brown wrote:
> 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.
It's the case, I added a wait_for_completion_timeout() + return 0 in meson_spicc_transfer_one.
Neil
Powered by blists - more mailing lists