Sudarsana Reddy Kalluru 4d88c339c4 atlantic: Fix issue in the pm resume flow.
After fixing hibernation resume flow, another usecase was found which
should be explicitly handled - resume when device is in "down" state.
Invoke aq_nic_init jointly with aq_nic_start only if ndev was already
up during suspend/hibernate. We still need to perform nic_deinit() if
caller requests for it, to handle the freeze/resume scenarios.

Fixes: 57f780f1c433 ("atlantic: Fix driver resume flow.")
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-23 13:24:14 +01:00
..
2021-09-08 11:45:06 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-07-27 20:11:45 +01:00
2021-09-19 12:20:53 +01:00
2021-07-27 20:11:45 +01:00
2021-09-01 08:44:42 -07:00
2021-07-27 20:11:45 +01:00
2021-08-26 12:05:43 +01:00
2021-07-27 20:11:45 +01:00
2021-08-29 10:50:24 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00