aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2024-01-04 16:00:32 +0200
committerDavid S. Miller <davem@davemloft.net>2024-01-05 11:56:35 +0000
commite66bf63a7f670a600338faf889bed71f90c183bf (patch)
treed7e52d8072ce08cd5d09dcdfae7c717b904dc38f /tools/perf/scripts/python/bin
parentnet: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure (diff)
downloadlinux-e66bf63a7f670a600338faf889bed71f90c183bf.tar.gz
linux-e66bf63a7f670a600338faf889bed71f90c183bf.zip
net: dsa: qca8k: skip MDIO bus creation if its OF node has status = "disabled"
Currently the driver calls the non-OF devm_mdiobus_register() rather than devm_of_mdiobus_register() for this case, but it seems to rather be a confusing coincidence, and not a real use case that needs to be supported. If the device tree says status = "disabled" for the MDIO bus, we shouldn't need an MDIO bus at all. Instead, just exit as early as possible and do not call any MDIO API. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions