diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-11-07 14:34:27 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-11-17 13:05:57 +0200 |
commit | 5391bcfa56c79a891734e4d22aa0ca3217b86491 (patch) | |
tree | 703a72cc77ee0ccb6c3bbe03d86e1011c98fa3df /tools/perf/scripts/python/task-analyzer.py | |
parent | 24d85bb3be373b5831699bddf698b392bd2b904d (diff) |
thunderbolt: Send uevent after asymmetric/symmetric switch
We should send uevent to userspace whenever the link speed or width
changes but tb_switch_asym_enable() and tb_switch_asym_disable() set the
sw->link_width already so tb_switch_update_link_attributes() never
noticed the change.
Fix this so that we let tb_switch_update_link_attributes() update the
fields accordingly.
Fixes: 81af2952e606 ("thunderbolt: Add support for asymmetric link")
Reported-by: Pengfei Xu <pengfei.xu@intel.com>
Tested-by: Pengfei Xu <pengfei.xu@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions