]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: atlantic: remove deep parameter on suspend/resume functions
authorChia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Wed, 13 Jul 2022 11:12:23 +0000 (19:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:20:12 +0000 (21:20 +0200)
commit38e081ee06cb5892d1bb9a4565518485d435bbd1
tree8d0126ea006049abe88ec0a626f37e2bd9274244
parentb82e4ad58a7fb72456503958a93060f87896e629
net: atlantic: remove deep parameter on suspend/resume functions

[ Upstream commit 0f33250760384e05c36466b0a2f92f3c6007ba92 ]

Below commit claims that atlantic NIC requires to reset the device on pm
op, and had set the deep to true for all suspend/resume functions.
commit 1809c30b6e5a ("net: atlantic: always deep reset on pm op, fixing up my null deref regression")
So, we could remove deep parameter on suspend/resume functions without
any functional change.

Fixes: 1809c30b6e5a ("net: atlantic: always deep reset on pm op, fixing up my null deref regression")
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Link: https://lore.kernel.org/r/20220713111224.1535938-1-acelan.kao@canonical.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c