]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: net:cpsw: fix probe_dt when only slave 1 is pinned out
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 24 Oct 2014 13:21:33 +0000 (18:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 19:44:35 +0000 (15:44 -0400)
commit47276fcc2d542e7b15e384c08b1709c1921b06c1
tree51d9f2bf09897dfcf6e634ac6b594872a88c30ae
parent25946f20b775f5c630d4326dd7a7f1df0576eb57
drivers: net:cpsw: fix probe_dt when only slave 1 is pinned out

when slave 0 has no phy and slave 1 connected to phy, driver probe will
fail as there is no phy id present for slave 0 device tree, so continuing
even though no phy-id found, also moving mac-id read later to ensure
mac-id is read from device tree even when phy-id entry in not found.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c