Messages in this thread |  | | From | Conor Dooley <> | | Subject | Re: [PATCH v1] firmware: microchip: fail auto-update probe if no flash found | | Date | Tue, 10 Mar 2026 18:24:11 +0000 |
| |
From: Conor Dooley <conor.dooley@microchip.com>
On Tue, 03 Mar 2026 11:24:06 +0000, Conor Dooley wrote: > There's no point letting the driver probe if there is no flash, as > trying to do a firmware upload will fail. Move the code that attempts > to get the flash from firmware upload to probe, and let it emit a > message to users stating why auto-update is not supported. > The code currently could have a problem if there's a flash in > devicetree, but the system controller driver fails to get a pointer to > it from the mtd subsystem, which will cause > mpfs_sys_controller_get_flash() to return an error. Check for errors and > null, instead of just null, in the new clause. > > [...]
Applied to riscv-soc-fixes, thanks!
[1/1] firmware: microchip: fail auto-update probe if no flash found https://git.kernel.org/conor/c/c30b2509164f
Thanks, Conor.
|  |