summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-08-03 22:59:42 +0900
committerJakub Kicinski <kuba@kernel.org>2026-08-06 08:15:43 -0700
commit762137ff748fa0c920f82ce718163691cb02f907 (patch)
tree93a3c92c07f63416683a7491ca2fbb6c4e61ca00 /tools/perf/scripts/python/task-analyzer.py
parentf37228367375053bf77cf5c17645f3ac8e3a451d (diff)
ptp: fc3: register PTP clock after initialization
ptp_clock_register() exposes the clock to userspace. If either following initialization operation fails, probe returns and devres frees idtfc3 while the registered clock still refers to the clock information embedded in it. Complete the fallible initialization before registering the clock. Schedule the worker after registration because it requires the registered clock. This removes post-registration failures and avoids exposing a partially initialized clock. Cc: stable+noautosel@kernel.org # untested fix to a driver init path race Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Link: https://patch.msgid.link/20260803135942.48383-1-mhun512@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions