thunderbolt: Ignore port locked error in tb_port_wait_for_link_width()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 13 Feb 2022 15:16:24 +0000 (17:16 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 5 May 2022 06:25:16 +0000 (09:25 +0300)
commit0a2e1667a73fe0c4374ddace925d85a4072d509c
tree76c2f1696905bd4f44378909712fdf8e17a8a73a
parent0e14dd5e14d697e2489c7bf0fe35947831de3975
thunderbolt: Ignore port locked error in tb_port_wait_for_link_width()

Sometimes when polling for the port after target link width is changed
we get back port locked notification (because the link actually was
reset and then re-trained). Instead of bailing out we can ignore these
when polling for the width change as this is expected.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c