mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
thunderbolt: Fix a backport error for display flickering issue
A mistake was made when backporting commit583893a66d
("thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards") in missing the `if` block. Add it back in. Reported-by: Joakim.Tjernlund@infinera.com Closes: https://lore.kernel.org/stable/28b5d0accce90bedf2f75d65290c5a1302225f0f.camel@infinera.com/ Fixes:06614ca4f1
("thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards") Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bb899e081c
commit
9a3ac3bf4d
@ -416,6 +416,7 @@ int tb_switch_tmu_disable(struct tb_switch *sw)
|
||||
* mode.
|
||||
*/
|
||||
ret = tb_switch_tmu_rate_write(sw, TB_SWITCH_TMU_RATE_OFF);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
tb_port_tmu_time_sync_disable(up);
|
||||
|
Loading…
Reference in New Issue
Block a user