commit | 6bfe33473eaac9443dfce129b3107cc27abc1e47 | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Fri Feb 14 19:25:34 2020 +0200 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Mon Jun 22 19:58:32 2020 +0300 |
tree | 5024daf0cbbe0851addcb22568f2885afed5f392 | |
parent | 7e72846bb97a86d19a249d230b12a6e33e947026 [diff] |
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: Mika Westerberg <mika.westerberg@linux.intel.com>