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 /net/kcm | |
parent | 1e515b7fdbaeef29b1025c09b50ebbb132a39208 (diff) |
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 'net/kcm')
0 files changed, 0 insertions, 0 deletions