From: Daniel Mack Date: Fri, 15 Nov 2013 07:29:16 +0000 (+0100) Subject: net: ethernet: ti/cpsw: do not crash on single-MAC machines during resume X-Git-Tag: v3.13-rc1~33^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e7a2e219ab6bc57ed901485a0d0be85235ebe61;p=pandora-kernel.git net: ethernet: ti/cpsw: do not crash on single-MAC machines during resume During resume, use for_each_slave to walk the slaves of the cpsw, and soft-reset each of them. This prevents oopses if there is only one slave configured. Signed-off-by: Daniel Mack Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- Reading git-diff-tree failed