summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/tb_regs.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2020-02-14 18:25:34 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2020-06-22 18:58:32 +0200
commit6bfe33473eaac9443dfce129b3107cc27abc1e47 (patch)
tree5024daf0cbbe0851addcb22568f2885afed5f392 /drivers/thunderbolt/tb_regs.h
parentthunderbolt: Generalize usb4_switch_do_[read|write]_data() (diff)
downloadlinux-6bfe33473eaac9443dfce129b3107cc27abc1e47.tar.xz
linux-6bfe33473eaac9443dfce129b3107cc27abc1e47.zip
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>
Diffstat (limited to 'drivers/thunderbolt/tb_regs.h')
0 files changed, 0 insertions, 0 deletions