Message ID | 1542650162-9229-1-git-send-email-opendmb@gmail.com |
---|---|
Headers | show |
Series | net: bcmgenet: fix aborted suspend | expand |
From: Doug Berger <opendmb@gmail.com> Date: Mon, 19 Nov 2018 09:56:00 -0800 > It is not enough to return an error code from the driver suspend > routine. The driver must also restore the device functionality. > > This commit corrects the issue introduced by commit 0db55093b566 > ("net: bcmgenet: return correct value 'ret' from bcmgenet_power_down") > by calling the driver resume function if the suspend function returns > an error. > > Changes in v2: > - Removed accidentally included write to HFB register Doug, this doesn't apply cleanly to net-next.