thunderbolt: Pass TX and RX data directly to usb4_switch_op()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 2 Nov 2020 13:09:44 +0000 (15:09 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 30 Nov 2020 11:39:24 +0000 (14:39 +0300)
commit83bab44ada0512b054844e661279d68d0c8f3d03
treefa065a932bdfcc7a600248b01ffbedce94ec3f8c
parentfe265a06319bfa27cfbccd3305d93b33b78f48f2
thunderbolt: Pass TX and RX data directly to usb4_switch_op()

We are going to make usb4_switch_op() to match better the corresponding
firmware (ICM) USB4 router operation proxy interface, so that we can use
either based on the connection manager implementation.

For this reason rename usb4_switch_op() to __usb4_switch_op() that
provides the most complete interface. Then make usb4_switch_op() and
usb4_switch_op_data() call it with correct set of parameters and update
the callers accordingly.

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