net: atlantic: always deep reset on pm op, fixing up my null deref regression
[linux-2.6-microblaze.git] / drivers / net / ethernet / aquantia / atlantic / aq_pci_func.c
index 3a529ee..8318339 100644 (file)
@@ -449,7 +449,7 @@ static int aq_pm_freeze(struct device *dev)
 
 static int aq_pm_suspend_poweroff(struct device *dev)
 {
-       return aq_suspend_common(dev, false);
+       return aq_suspend_common(dev, true);
 }
 
 static int aq_pm_thaw(struct device *dev)
@@ -459,7 +459,7 @@ static int aq_pm_thaw(struct device *dev)
 
 static int aq_pm_resume_restore(struct device *dev)
 {
-       return atl_resume_common(dev, false);
+       return atl_resume_common(dev, true);
 }
 
 static const struct dev_pm_ops aq_pm_ops = {