Skip to content
Commit 7e72846b authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Generalize usb4_switch_do_[read|write]_data()



Currently these functions operate on struct tb_switch but we are going
to need the same functionality with retimers as well so make the two
functions work with an arbitrary object that gets passed as parameter to
the callbacks.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 719a5fe8
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