path: root/lib
diff options
authorSudarsana Reddy Kalluru <skalluru@marvell.com>2021-09-23 03:16:05 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-23 13:24:14 +0100
commit4d88c339c423eefe2fd48215016cb0c75fcb4c4d (patch)
treea2ccc615607335f90c05451b4142b0b32995f04b /lib
parentfdbccea419dc782079ce5881d2705cc9e3881480 (diff)
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions