Re: [PATCH net] net: phy: aquantia: check for NVMEM deferral
From: Russell King (Oracle)
Date: Thu Nov 27 2025 - 08:30:45 EST
On Thu, Nov 27, 2025 at 12:44:35PM +0100, Robert Marko wrote:
> Currently, if NVMEM provider is probed later than Aquantia, loading the
> firmware will fail with -EINVAL.
>
> To fix this, simply check for -EPROBE_DEFER when NVMEM is attempted and
> return it.
>
> Fixes: e93984ebc1c8 ("net: phy: aquantia: add firmware load support")
> Signed-off-by: Robert Marko <robimarko@xxxxxxxxx>
As aqr_firmware_load() is called from the probe function, returning
-EPROBE_DEFER from here is fine.
Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
Thanks!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!