mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
thunderbolt: Fixes for v6.5-rc6
This includes two fixes for v6.5-rc6:
- Correct display flickering when connecting a Thunderbolt 3 device to
an AMD USB4 host controller
- Fix a memory leak in bandwidth allocation request.
Both have been in linux-next with no reported issues.
-----BEGIN PGP SIGNATURE-----
iQJUBAABCgA+FiEEVTdhRGBbNzLrSUBaAP2fSd+ZWKAFAmTR0HMgHG1pa2Eud2Vz
dGVyYmVyZ0BsaW51eC5pbnRlbC5jb20ACgkQAP2fSd+ZWKC3og/+M/WLfU0Ns8Ak
Sym2mchNDbXrP00dAh8CegKpaHqvVF7XqQgYbavMGM/X+9WwGSyo9yAKwxbzGI7+
dbDswmcXbawdcSSsngNliwhoE+0Re7hf8pFBA4Ez70B8ObnnFPbCl8cSebZwqh7J
PDsJNYkHcQMuCL0c3cvQdOBC3Ou0l8AQoJwsRN2Hrmyb8RIwgjaBFECMh7gXkxu2
A6iz078IJTF8WnGPPO2WhqkKSrTZDSVAA6J1nS9m92U6C3NPsU0a8Bv7JPVETehL
y/xoFewjNzv3S5oUHlLVB4nvXhg8QM7p2r+K0hNQ1S5AUblFeQOitAmpftvALhBP
YKHYpNBqg/p8xa2Iy8m7/nmlFyP8Angv23YE1VTGIu4OM8bFY0a/n2NCqeguTDkp
D3dMPEgCXZsd7k9G4riX/D5mUlGBK2h0jEuFh92DVaz3OppGWS2On5VAlsXdaY0h
HtTKEfZOkaT8UN3WMW/5Tdk0PO+8lW2jopCfp/Tit4i1NQgx5JbmCmMBm8pxtrqH
8+q3vhZK/UIcvXImq18tBAUS19DbEiYhhuA6uZFlmMAECH5R5czZJz7muGos8Cgr
MMSm/Mm+x0F0qS0WirYYyWfv8WQBUwurdDZp/VAEJy86kpx3qreoHEytfzPeB1zk
DlGf9xiCnUgRe021wNa/7wGGxRfM9CI=
=T7f1
-----END PGP SIGNATURE-----
Merge tag 'thunderbolt-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus
Mika writes:
thunderbolt: Fixes for v6.5-rc6
This includes two fixes for v6.5-rc6:
- Correct display flickering when connecting a Thunderbolt 3 device to
an AMD USB4 host controller
- Fix a memory leak in bandwidth allocation request.
Both have been in linux-next with no reported issues.
* tag 'thunderbolt-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt:
thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request()
thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards
This commit is contained in:
commit
f48585c468
|
|
@ -1964,6 +1964,8 @@ static void tb_handle_dp_bandwidth_request(struct work_struct *work)
|
|||
|
||||
pm_runtime_mark_last_busy(&tb->dev);
|
||||
pm_runtime_put_autosuspend(&tb->dev);
|
||||
|
||||
kfree(ev);
|
||||
}
|
||||
|
||||
static void tb_queue_dp_bandwidth_request(struct tb *tb, u64 route, u8 port)
|
||||
|
|
|
|||
|
|
@ -579,7 +579,9 @@ int tb_switch_tmu_disable(struct tb_switch *sw)
|
|||
* uni-directional mode and we don't want to change it's TMU
|
||||
* mode.
|
||||
*/
|
||||
tb_switch_tmu_rate_write(sw, tmu_rates[TB_SWITCH_TMU_MODE_OFF]);
|
||||
ret = tb_switch_tmu_rate_write(sw, tmu_rates[TB_SWITCH_TMU_MODE_OFF]);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
tb_port_tmu_time_sync_disable(up);
|
||||
ret = tb_port_tmu_time_sync_disable(down);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user