diff options
author | Doug Berger <opendmb@gmail.com> | 2018-11-17 05:00:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-18 09:04:39 +0300 |
commit | c5a54bbcececa36852807c36157a86d808b62310 (patch) | |
tree | 7c6cb635b310c7f7d0b94f0732a81653c3ec50ac /arch | |
parent | a94cbf03eb514d4d64d8c4f4caa0616b7ce5040a (diff) | |
download | linux-c5a54bbcececa36852807c36157a86d808b62310.tar.xz |
net: bcmgenet: abort suspend on error
If an error occurs during suspension of the driver the driver should
restore the hardware configuration and return an error to force the
system to resume.
Fixes: 0db55093b566 ("net: bcmgenet: return correct value 'ret' from bcmgenet_power_down")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions