diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2016-04-28 15:36:04 +0530 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-05-24 11:42:02 -0500 |
commit | b2003c5458e883c691f3a7f5f770e6ed36e1b9d7 (patch) | |
tree | 986357b636ff192e4bf302e35d90d59838d9e78c /post/tests.c | |
parent | 3d12e804956ca996b6621cd1e04fabd39b401882 (diff) | |
download | blackbird-obmc-uboot-b2003c5458e883c691f3a7f5f770e6ed36e1b9d7.tar.gz blackbird-obmc-uboot-b2003c5458e883c691f3a7f5f770e6ed36e1b9d7.zip |
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>
Diffstat (limited to 'post/tests.c')
0 files changed, 0 insertions, 0 deletions