[PATCH v1] firmware: microchip: auto-update: fix poll_complete() to not report spurious timeout errors
Conor Dooley
conor at kernel.org
Thu Oct 17 09:41:49 PDT 2024
From: Conor Dooley <conor.dooley at microchip.com>
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.
More information about the linux-riscv
mailing list