commit | 3a27bfac17fe375539c4e0a53478679645eb5ae2 | [log] [tgz] |
---|---|---|
author | Mugunthan V N <mugunthanvnm@ti.com> | Mon Dec 02 12:53:39 2013 +0530 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 02 16:55:30 2013 -0500 |
tree | e43849454715baa752f69abbe2e0fb956f70ec4b | |
parent | 8496e85c20e7836b3dec97780e40f420a3ae2801 [diff] |
drivers: net: cpsw: fix dt probe for one port ethernet When only one port of the two port is pinned out, then dt probe is failing because second port phy is not found. fixing this by checking the number of slaves and breaking the loop. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>