Re: [PATCH] net: dsa: bcm_sf2: Ensure correct sub-node is parsed

From: David Miller
Date: Mon Apr 06 2020 - 13:23:54 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Sun, 5 Apr 2020 13:00:30 -0700

> When the bcm_sf2 was converted into a proper platform device driver and
> used the new dsa_register_switch() interface, we would still be parsing
> the legacy DSA node that contained all the port information since the
> platform firmware has intentionally maintained backward and forward
> compatibility to client programs. Ensure that we do parse the correct
> node, which is "ports" per the revised DSA binding.
>
> Fixes: d9338023fb8e ("net: dsa: bcm_sf2: Make it a real platform device driver")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable, thanks Florian.