diff options
author | 2016-09-01 10:47:35 +0800 | |
---|---|---|
committer | 2016-08-31 20:53:48 -0700 | |
commit | aa6e8a54f653daaf34ff7fdceb2d992d714eea7c (patch) | |
tree | c14d5195812c5c760f29d9f228c4c56001554525 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: ethernet: mediatek: use devm_mdiobus_alloc instead of mdiobus_alloc inside mtk_mdio_init (diff) | |
download | wireguard-linux-aa6e8a54f653daaf34ff7fdceb2d992d714eea7c.tar.xz wireguard-linux-aa6e8a54f653daaf34ff7fdceb2d992d714eea7c.zip |
net: ethernet: mediatek: fix error handling inside mtk_mdio_init
Return -ENODEV if the MDIO bus is disabled in the device tree.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions