commit | 13a27fd7b251dbb9d358c46193d9bc2525843edf | [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 | c6e44b7d57403e7ef3e0f60e31618f2bc34ad20b [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>