]> git.baikalelectronics.ru Git - uboot.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)
commit03a2e39a4e6374e79424164882aedc0fdbe9efaa
tree83ed5b728ce19ac228d2184d8fd14458e69273ef
parent906d4245eee169c0897153e75257e1ce737cac67
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