Re: [PATCH v1] firmware: microchip: auto-update: fix poll_complete() to not report spurious timeout errors

From: Conor Dooley
Date: Thu Oct 17 2024 - 12:42:56 EST


From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

On Wed, 16 Oct 2024 17:35:06 +0100, Conor Dooley wrote:
> fw_upload's poll_complete() is really intended for use with
> asynchronous write() implementations - or at least those where the
> write() loop may terminate without the kernel yet being aware of whether
> or not the firmware upload has succeeded. For auto-update, write() is
> only ever called once and will only return when uploading has completed,
> be that by passing or failing. The core fw_upload code only calls
> poll_complete() after the final call to write() has returned.
>
> [...]

Applied to riscv-soc-fixes, thanks!

[1/1] firmware: microchip: auto-update: fix poll_complete() to not report spurious timeout errors
https://git.kernel.org/conor/c/83beece5aff7

Thanks,
Conor.