Skip to content
Commit 17bf1693 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'bcmgenet-fix-aborted-suspend'

Doug Berger says:

====================
net: bcmgenet: fix aborted suspend

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 0db55093


("net: bcmgenet: return correct value 'ret' from bcmgenet_power_down")
by calling the driver resume function if the suspend function returns
an error.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 8a962c4a c5a54bbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment