]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dsa: Fix OF fallback lookup for ports
authorMarcus Comstedt <marcus.comstedt@requtech.se>
Mon, 15 May 2023 15:44:23 +0000 (15:44 +0000)
committerPeng Fan <peng.fan@nxp.com>
Wed, 14 Jun 2023 10:38:25 +0000 (18:38 +0800)
commite533228d9ec4713c26f5e9900d27fd65847ed44b
tree83ed5b728ce19ac228d2184d8fd14458e69273ef
parentcb4fe56eca1109780e97c68329e6b71ef33bf0e6
net: dsa: Fix OF fallback lookup for ports

The variable 'node' was already invalid, so using it for further
lookup will not work.

Signed-off-by: Marcus Comstedt <marcus.comstedt@requtech.se>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
net/dsa-uclass.c