net: gem: Do not continue if phy is not found
authorMichal Simek <michal.simek@xilinx.com>
Mon, 30 Nov 2015 12:38:32 +0000 (13:38 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Dec 2015 08:59:04 +0000 (09:59 +0100)
commitb904725a112f7b7a1b5d657541d77dc8fa1a1615
tree38ff2dc4a5785f499042f83b294de2a9bfcd73c4
parent3cbbc2574bd9440d4e2bda4addb8aae75cf72b2d
net: gem: Do not continue if phy is not found

Add return value for phy detection algorithm to stop init function when
phy is not found.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/net/zynq_gem.c