linux/drivers/net
Mohammad Athari Bin Ismail ba7c71a777 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:25:38 +01:00
..
appletalk
arcnet
bonding net: bonding: fix bond_xmit_broadcast return value error bug 2022-01-27 10:54:35 +01:00
caif
can can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message 2022-01-27 10:54:28 +01:00
dsa net: dsa: rtl8366rb: Fix off-by-one bug 2021-11-18 14:04:03 +01:00
ethernet net: stmmac: skip only stmmac_ptp_register when resume from suspend 2022-02-01 17:25:38 +01:00
fddi net: fddi: fix UAF in fza_probe 2021-07-25 14:36:20 +02:00
fjes fjes: Check for error irq 2021-12-29 12:25:57 +01:00
hamradio hamradio: improve the incomplete fix to avoid NPD 2021-12-29 12:26:08 +01:00
hippi
hyperv
ieee802154 ieee802154: atusb: fix uninit value in atusb_set_extended_addr 2022-01-11 15:24:58 +01:00
ipa net: ipa: disable HOLB drop when updating timer 2021-11-26 10:39:14 +01:00
ipvlan
mdio mdio: aspeed: Fix "Link is Down" issue 2021-12-01 09:19:01 +01:00
netdevsim netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc 2021-12-22 09:30:55 +01:00
pcs
phy net: sfp: ignore disabled SFP node 2022-02-01 17:25:38 +01:00
plip
ppp ppp: ensure minimum packet size in ppp_write() 2022-01-27 10:54:01 +01:00
slip
team
usb net: mcs7830: handle usb read errors properly 2022-01-27 10:54:04 +01:00
vmxnet3 vmxnet3: do not stop tx queues after netif_device_detach() 2021-11-18 14:03:43 +01:00
wan
wimax
wireguard wireguard: ratelimiter: use kvcalloc() instead of kvzalloc() 2021-12-08 09:03:23 +01:00
wireless ath10k: Fix the MTU size on QCA9377 SDIO 2022-01-27 10:54:36 +01:00
xen-netback xen/netback: don't queue unlimited number of packages 2021-12-22 09:31:00 +01:00
bareudp.c bareudp: Fix invalid read beyond skb's linear data 2021-08-18 08:59:11 +02:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c ifb: fix building without CONFIG_NET_CLS_ACT 2021-11-18 14:03:49 +01:00
Kconfig ifb: Depend on netfilter alternatively to tc 2021-11-18 14:03:46 +01:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
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: fix bonding active backup with arp monitoring 2021-11-26 10:39:18 +01:00
veth.c veth: Do not record rx queue hint in veth_xmit 2022-01-16 09:14:23 +01:00
virtio_net.c virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO 2021-08-26 08:35:48 -04:00
vrf.c vrf: don't run conntrack on vrf with !dflt qdisc 2021-12-14 11:32:36 +01:00
vsockmon.c
vxlan.c
xen-netfront.c xen/netfront: harden netfront against event channel storms 2021-12-22 09:30:59 +01:00