[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZsrcUiKuojyFEn3u@pengutronix.de>
Date: Sun, 25 Aug 2024 09:25:06 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Rosen Penev <rosenp@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux@...linux.org.uk,
linux-kernel@...r.kernel.org, p.zabel@...gutronix.de
Subject: Re: [PATCH net-next] net: ag71xx: support probe defferal for getting
MAC address
On Sat, Aug 24, 2024 at 01:02:37PM -0700, Rosen Penev wrote:
> Currently, of_get_ethdev_address() return is checked for any return error
> code which means that trying to get the MAC from NVMEM cells that is backed
> by MTD will fail if it was not probed before ag71xx.
>
> So, lets check the return error code for EPROBE_DEFER and defer the ag71xx
> probe in that case until the underlying NVMEM device is live.
>
> Signed-off-by: Robert Marko <robimarko@...il.com>
> Signed-off-by: Rosen Penev <rosenp@...il.com>
Reviewed-by: Oleksij Rempel <o.rempel@...gutronix.de>
Thank you!
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Powered by blists - more mailing lists