summaryrefslogtreecommitdiff
path: root/include/asm-generic/timex.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-02-23 12:19:08 +0000
committerJakub Kicinski <kuba@kernel.org>2026-02-24 17:46:15 -0800
commit2f61f38a217462411fed950e843b82bc119884cf (patch)
tree9efd4b797bff302908e5cd7ca9e7481b45003b85 /include/asm-generic/timex.h
parent1348659dc92e9f0f3f86961745792102b8afbfff (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 'include/asm-generic/timex.h')
0 files changed, 0 insertions, 0 deletions