diff options
author | Daniel Mack <zonque@gmail.com> | 2013-11-15 08:29:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-15 23:58:19 +0100 |
commit | 1e7a2e219ab6bc57ed901485a0d0be85235ebe61 (patch) | |
tree | d5c13b5e9eee4e9974ed251c6f67b0e1aed4f629 /drivers/amba | |
parent | Merge branch 'macvlan' (diff) | |
download | linux-1e7a2e219ab6bc57ed901485a0d0be85235ebe61.tar.xz linux-1e7a2e219ab6bc57ed901485a0d0be85235ebe61.zip |
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 <zonque@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions