Re: [PATCH net-next 2/2] net: bcmgenet: abort suspend on error

From: Florian Fainelli
Date: Sat Nov 17 2018 - 14:52:21 EST




On 16/11/2018 18:00, Doug Berger wrote:
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@xxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian