linux/drivers/net
Mohammad Athari Bin Ismail e826ab1857 net: stmmac: skip only stmmac_ptp_register when resume from suspend
commit 0735e639f1 upstream.

When resume from suspend, besides skipping PTP registration, it also
skipping PTP HW initialization. This could cause PTP clock not able to
operate properly when resume from suspend.

To fix this, only stmmac_ptp_register() is skipped when resume from
suspend.

Fixes: fe13192911 ("stmmac: Don't init ptp again when resume from suspend/hibernation")
Cc: <stable@vger.kernel.org> # 5.15.x
Signed-off-by: Mohammad Athari Bin Ismail <mohammad.athari.ismail@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-01 17:26:59 +01:00
..
appletalk
arcnet
bonding bonding: Fix extraction of ports from the packet headers 2022-01-27 11:05:43 +01:00
caif
can can: m_can: m_can_fifo_{read,write}: don't read or write from/to FIFO if length is 0 2022-02-01 17:26:58 +01:00
dsa net: dsa: hellcreek: Add missing PTP via UDP rules 2022-01-27 11:03:38 +01:00
ethernet net: stmmac: skip only stmmac_ptp_register when resume from suspend 2022-02-01 17:26:59 +01:00
fddi fddi: switch from 'pci_' to 'dma_' API 2021-08-29 10:50:24 +01:00
fjes fjes: Check for error irq 2021-12-29 12:28:44 +01:00
hamradio hamradio: improve the incomplete fix to avoid NPD 2021-12-29 12:29:03 +01:00
hippi
hyperv
ieee802154 ieee802154: atusb: fix uninit value in atusb_set_extended_addr 2022-01-11 15:35:12 +01:00
ipa net: ipa: fix atomic update in ipa_endpoint_replenish() 2022-01-27 11:05:39 +01:00
ipvlan
mctp
mdio mdio: aspeed: Fix "Link is Down" issue 2021-12-01 09:04:43 +01:00
netdevsim netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc 2021-12-22 09:32:44 +01:00
pcs net: pcs: xpcs: fix incorrect steps on disable EEE 2021-10-06 11:18:27 +01:00
phy net: sfp: ignore disabled SFP node 2022-02-01 17:26:58 +01:00
plip
ppp ppp: ensure minimum packet size in ppp_write() 2022-01-27 11:03:52 +01:00
slip
team
usb net: usb: Correct reset handling of smsc95xx 2022-01-27 11:05:22 +01:00
vmxnet3 vmxnet3: fix minimum vectors alloc issue 2021-12-17 10:30:14 +01:00
wan net: wan: wanxl: define CROSS_COMPILE_M68K 2021-09-16 14:08:04 +01:00
wireguard wireguard: ratelimiter: use kvcalloc() instead of kvzalloc() 2021-12-08 09:04:46 +01:00
wireless iwlwifi: fix Bz NMI behaviour 2022-01-27 11:05:36 +01:00
wwan net: wwan: Fix MRU mismatch issue which may lead to data connection lost 2022-01-27 11:05:40 +01:00
xen-netback xen/netback: don't queue unlimited number of packages 2021-12-22 09:32:52 +01:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c ifb: fix building without CONFIG_NET_CLS_ACT 2021-11-18 19:16:04 +01:00
Kconfig ifb: Depend on netfilter alternatively to tc 2021-11-18 19:15:58 +01:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c drivers: net: mhi: fix error path in mhi_net_newlink 2021-09-24 14:25:05 +01:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: avoid double free in tun_free_netdev 2021-12-29 12:29:03 +01:00
veth.c veth: Do not record rx queue hint in veth_xmit 2022-01-16 09:12:44 +01:00
virtio_net.c virtio-net: fix for skb_over_panic inside big mode 2021-10-09 13:50:33 +01:00
vrf.c vrf: don't run conntrack on vrf with !dflt qdisc 2021-12-14 10:57:08 +01:00
vsockmon.c
vxlan.c nexthop: Fix memory leaks in nexthop notification chain listeners 2021-09-23 12:33:22 +01:00
xen-netfront.c xen/netfront: harden netfront against event channel storms 2021-12-22 09:32:51 +01:00