diff options
| author | David Yang <mmyangfl@gmail.com> | 2026-09-30 22:11:48 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-05 16:20:35 -0700 |
| commit | 1a2dbdb6602a668f87d243261ece58f297a6e528 (patch) | |
| tree | a3c7608a66a20e106162b16e61680c692e609f39 /include/linux/timerqueue.h | |
| parent | 3c9d88b04e6cfd1dac03e89166fef34077c79763 (diff) | |
net: dsa: motorcomm: Fix register rollback in LED setup
The LED error path writes back a stale snapshot of the whole words taken
before the class device registration, silently reverting LED2 state of
sibling LED groups already registered and reachable from sysfs. Although
the odds are very small, fix it by reverting this group's fields only
for correctness.
Fixes: 9af9a8168213 ("net: dsa: motorcomm: Add LED support")
Signed-off-by: David Yang <mmyangfl@gmail.com>
Link: https://patch.msgid.link/20260930141151.3973221-1-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
