diff options
| author | 2026-05-26 09:45:24 +0200 | |
|---|---|---|
| committer | 2026-05-28 14:05:29 +0200 | |
| commit | d733f519f6443540f8359461a34e3b0042099bbe (patch) | |
| tree | c351ece34456fd0d2e3301203b44d73d02020e1f /tools/docs/ssh:/git@git.zx2c4.com | |
| parent | dpll: export __dpll_device_change_ntf() for use under dpll_lock (diff) | |
dpll: zl3073x: use __dpll_device_change_ntf() and remove change_work
The change_work was introduced to send device change notifications
from DPLL device callbacks without deadlocking on dpll_lock, since
the callbacks are already invoked under that lock. Now that
__dpll_device_change_ntf() is exported for callers that already
hold dpll_lock, use it directly and remove the change_work
infrastructure entirely.
This eliminates a race condition where change_work could be
re-scheduled after cancel_work_sync() during device teardown,
potentially causing the handler to dereference a freed or NULL
dpll_dev pointer.
Fixes: 9363b4837659 ("dpll: zl3073x: Allow to configure phase offset averaging factor")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20260526074525.1451008-3-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/docs/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
