Re: [PATCH net-next 0/2] net: bcmgenet: fix aborted suspend

From: David Miller
Date: Sun Nov 18 2018 - 01:04:56 EST


From: Doug Berger <opendmb@xxxxxxxxx>
Date: Fri, 16 Nov 2018 18:00:20 -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.

Series applied.