linux/drivers/net/ethernet/cadence
Boris BREZILLON 7daa78e352 net/cadence/macb: fix invalid 0 return if no phy is discovered on mii init
Replace misleading -1 (-EPERM) by a more appropriate return code (-ENXIO)
in macb_mii_probe function.
Save macb_mii_probe return before branching to err_out_unregister to avoid
erronous 0 return.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-29 15:21:45 -04:00
..
at91_ether.c drivers/net/ethernet/cadence: don't use devm_pinctrl_get_select_default() in probe 2013-07-11 17:18:26 -07:00
Kconfig at91_ether: Do not select NET_CORE 2013-06-19 22:22:56 -07:00
macb.c net/cadence/macb: fix invalid 0 return if no phy is discovered on mii init 2013-08-29 15:21:45 -04:00
macb.h net/macb: change RX path for GEM 2013-06-06 16:22:45 -07:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00