commit | b2003c5458e883c691f3a7f5f770e6ed36e1b9d7 | [log] [tgz] |
---|---|---|
author | Mugunthan V N <mugunthanvnm@ti.com> | Thu Apr 28 15:36:04 2016 +0530 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Tue May 24 11:42:02 2016 -0500 |
tree | 986357b636ff192e4bf302e35d90d59838d9e78c | |
parent | 3d12e804956ca996b6621cd1e04fabd39b401882 [diff] |
drivers: net: cpsw: fix cpsw dp parse when num slaves as 1 On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>