Skip to content
Commit 6bfe3347 authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Retry USB4 block read operation



Especially when accessing retimers over USB4 sideband operations the
possibility to get read errors seems to be higher so make the
usb4_do_read_data() retry a couple of times if it sees any other error
than -ENODEV (device is gone). We can only do this for read side because
it carries the offset as part of metadata (as opposed to writes).

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 7e72846b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment