]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-ethernet-ti-am65-cpsw-fix-mac-address-fetching'
authorJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 00:51:35 +0000 (17:51 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 00:51:35 +0000 (17:51 -0700)
Michael Walle says:

====================
net: ethernet: ti: am65-cpsw: Fix MAC address fetching

MAC addresses can be fetched from a NVMEM device. of_get_mac_address()
will return EPROBE_DEFER if that device is not available yet. That
isn't handled correctly by the driver and it will always fall back
to either a random MAC address or it's own "fetch by fuse" method.

Also, if the ethernet (sub)node has a link to the nvmem device,
it will fail to create a device link as the fwnode parameter isn't
populated. That's fixed in the first patch.
====================

Link: https://patch.msgid.link/20250414084336.4017237-1-mwalle@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge