diff options
| author | Grzegorz Nitka <grzegorz.nitka@intel.com> | 2026-06-07 21:30:36 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 23:24:32 +0300 |
| commit | e83b403eb142be18d223fc599c0ac45519053671 (patch) | |
| tree | d10d092b60bfe0c509fc14f7111671823e840fe0 /tools/lib/python | |
| parent | 32239d600236a986c8e6d16aa814d3d91066b244 (diff) | |
| download | linux-e83b403eb142be18d223fc599c0ac45519053671.tar.xz | |
dpll: send delete notification before unregister in on-pin rollback
The rollback path in dpll_pin_on_pin_register() called
__dpll_pin_unregister() before dpll_pin_delete_ntf(). When the
unregister dropped the pin's last DPLL reference it cleared the
DPLL_REGISTERED mark in dpll_pin_xa, so the subsequent
dpll_pin_event_send() failed dpll_pin_available() and aborted with
-ENODEV. As a result userspace was never notified of the rollback
deletion and remained out of sync with the kernel.
Send the delete notification first, matching the order used by
dpll_pin_unregister() and dpll_pin_on_pin_unregister().
Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions")
Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
Link: https://patch.msgid.link/20260607183045.1213735-5-grzegorz.nitka@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
