diff options
author | Grygorii Strashko <[email protected]> | 2016-06-24 21:23:41 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-28 08:57:18 -0400 |
commit | 1f95ba000c92cafccea007129d40532a4f35b1a6 (patch) | |
tree | 48c7050d7aed4c7879ae8c5231a06087376d4c10 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8f659aee44167d20530a5f7fe35e3de080a6e3cf (diff) |
drivers: net: cpsw: fix suspend when all ethX devices are down
The cpsw_suspend() could trigger L3 error and CPSW will stop
functioning if System enters suspend when all ethX net-devices are
down - in this case CPSW could be already suspended by PM runtime, but
cpsw_suspend() will try to call soft_reset_slave() unconditionally
and access CPSW registers.
Hence, fix it by moving soft_reset_slave() from cpsw_suspend() to
cpsw_slave_stop(). This way slave ports will be reset when CPSW is
active and will be in proper state during Suspend.
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions