]> Git Repo - linux.git/commit
net: bcmgenet: abort suspend on error
authorDoug Berger <[email protected]>
Sat, 17 Nov 2018 02:00:22 +0000 (18:00 -0800)
committerDavid S. Miller <[email protected]>
Sun, 18 Nov 2018 06:04:39 +0000 (22:04 -0800)
commitc5a54bbcececa36852807c36157a86d808b62310
tree7c6cb635b310c7f7d0b94f0732a81653c3ec50ac
parenta94cbf03eb514d4d64d8c4f4caa0616b7ce5040a
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c
This page took 0.050944 seconds and 4 git commands to generate.