]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commit20accfd3aa0b0aebbc27d1f3bddb819db7b854a3
tree466dbc7a0f864d354d5164019c2eada2ac48f39a
parentac1df712442c64b50cfdbe01da0e5aca8319b559
parent09737cb80b8686ffca4ed1805fee745d5c85604d
Merge branch 'net-ethernet-ti-am65-cpsw-fix-mac-address-fetching'

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>