net: bcmgenet: fix aborted suspend
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Removed accidentally included write to HFB register
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: bcmgenet: code movementdrivers/ | +30 | 0 replies | |
| 2/2 | net: bcmgenet: abort suspend on errordrivers/ drivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net-next v2 0/2] 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 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 Berger (2):
net: bcmgenet: code movement
net: bcmgenet: abort suspend on error
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 63 +++++++++++----------- drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c | 2 + 2 files changed, 35 insertions(+), 30 deletions(-)
Signature · 1 line
2.7.4