diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-02-23 12:19:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-24 17:46:15 -0800 |
| commit | 2f61f38a217462411fed950e843b82bc119884cf (patch) | |
| tree | 9efd4b797bff302908e5cd7ca9e7481b45003b85 /drivers/net/usb/dm9601.c | |
| parent | 1348659dc92e9f0f3f86961745792102b8afbfff (diff) | |
net: stmmac: fix timestamping configuration after suspend/resumedavem/net/maindavem/net/HEAD
When stmmac_init_timestamping() is called, it clears the receive and
transmit path booleans that allow timestamps to be read. These are
never re-initialised until after userspace requests timestamping
features to be enabled.
However, our copy of the timestamp configuration is not cleared, which
means we return the old configuration to userspace when requested.
This is inconsistent. Fix this by clearing the timestamp configuration.
Fixes: d6228b7cdd6e ("net: stmmac: implement the SIOCGHWTSTAMP ioctl")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/E1vuUu4-0000000Afea-0j9B@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb/dm9601.c')
0 files changed, 0 insertions, 0 deletions
