mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
thunderbolt: Fix for v6.10-rc3
This includes one USB4/Thunderbolt fix for v6.10-rc3: - Fix lane margining debugfs node creation condition. This has been in linux-next with no reported issues. -----BEGIN PGP SIGNATURE----- iQJUBAABCgA+FiEEVTdhRGBbNzLrSUBaAP2fSd+ZWKAFAmZf9ZkgHG1pa2Eud2Vz dGVyYmVyZ0BsaW51eC5pbnRlbC5jb20ACgkQAP2fSd+ZWKAY7Q/8CASuZ3DuHS0+ 6MJol3Kxqy76Bk1DtlRD7U7xGF53qtkC0wWaOww6AEX6n5ILUzu/xZhkS+Hot4vG 5qsqlb3My4Xf0/RcWPp45DwD3z8YOya/bxiL2ARNLqWvqEobplglFnCyKsmiFfin 1viUg7o4Wh4JcQ9vxHoSJwo71JdegzFvnG+ueCFEjH1odyD76BdkeUkWsjxTBrzz F7uLEuYhOazuSVBTsZZIvJpQvlRT88dSABMwYsiS/Vwiz7tmCy3OSYFhvYJpvMvy S7rpF2EsA5+OwqoPnb7qPEbbDyq8LeDH5yDRsILqmv57C0eeWO/AIsYRnxgjETjy vr3MmrhfLYUPJ5XW5qp2kc/OlV1HYTRy/zysF0FE6AywUjItP1jmaLzrsixygJVA OhzBTwJ9pLw42gBV+Kj6LTfGSpCoiQ0BcJIel62XY/F4Xt9Buj73Of9sble0tfKD g8YkTSb5oKLrjc7z/q/nDZBgiF9Lzcv8ipyw1ehWs4OQoJI6RWuLOOaxHObOjLP2 r4oG/QCCIROIqzjsvd81+BVl5cK9lqFvdEuYBJrHMiOjiiO1W3EUrdK4MwgNjD8M dhOGHh8KSai8XsWMxrPwwDevvVCOds+Q04V9n8z2rFg3TCaK274Y6jQL9rZzMd+q tN5j380abMRZx6Sevx4+iSDAs58qgDI= =Uk0Z -----END PGP SIGNATURE----- Merge tag 'thunderbolt-for-v6.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-next Mika writes: thunderbolt: Fix for v6.10-rc3 This includes one USB4/Thunderbolt fix for v6.10-rc3: - Fix lane margining debugfs node creation condition. This has been in linux-next with no reported issues.
This commit is contained in:
commit
1092c4126b
|
|
@ -943,8 +943,9 @@ static void margining_port_init(struct tb_port *port)
|
|||
debugfs_create_file("run", 0600, dir, port, &margining_run_fops);
|
||||
debugfs_create_file("results", 0600, dir, port, &margining_results_fops);
|
||||
debugfs_create_file("test", 0600, dir, port, &margining_test_fops);
|
||||
if (independent_voltage_margins(usb4) ||
|
||||
(supports_time(usb4) && independent_time_margins(usb4)))
|
||||
if (independent_voltage_margins(usb4) == USB4_MARGIN_CAP_0_VOLTAGE_HL ||
|
||||
(supports_time(usb4) &&
|
||||
independent_time_margins(usb4) == USB4_MARGIN_CAP_1_TIME_LR))
|
||||
debugfs_create_file("margin", 0600, dir, port, &margining_margin_fops);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user