diff options
| author | Grzegorz Nitka <grzegorz.nitka@intel.com> | 2026-06-07 21:30:38 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 23:24:33 +0300 |
| commit | 0a5c720a7d57d2287d5566c4ad93ee26b7c06845 (patch) | |
| tree | 0a31b7329a270a6d65c262b7cae210b62ac8b35f /tools/lib/python | |
| parent | df0ba51ccf873e533669578104981109217d8201 (diff) | |
| download | linux-0a5c720a7d57d2287d5566c4ad93ee26b7c06845.tar.xz | |
dpll: guard sync-pair removal on full pin unregister
__dpll_pin_unregister() wiped the global sync-pair state on every
(dpll, ops, priv, cookie) tuple removed from a pin. When a pin is
registered multiple times and only one registration is being torn
down, this dropped sync-pair pairings still in use by the surviving
registrations.
Move dpll_pin_ref_sync_pair_del() inside the xa_empty(&pin->dpll_refs)
branch so it only runs when the last registration is gone, alongside
clearing the DPLL_REGISTERED mark.
Fixes: 58256a26bfb3 ("dpll: add reference sync get/set")
Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Link: https://patch.msgid.link/20260607183045.1213735-7-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
