diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2016-09-01 10:47:35 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-31 20:53:48 -0700 |
| commit | aa6e8a54f653daaf34ff7fdceb2d992d714eea7c (patch) | |
| tree | c14d5195812c5c760f29d9f228c4c56001554525 /tools/perf/scripts/python/syscall-counts.py | |
| parent | net: ethernet: mediatek: use devm_mdiobus_alloc instead of mdiobus_alloc insi... (diff) | |
| download | linux-aa6e8a54f653daaf34ff7fdceb2d992d714eea7c.tar.gz 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
