thunderbolt: Make it possible to allocate one directional DMA tunnel
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 7 Oct 2020 15:17:12 +0000 (18:17 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 11 Nov 2020 07:20:16 +0000 (10:20 +0300)
commit5bf722df5d37e82fd252b1d3e37cde4eab355c1c
treed0e882493f665ba826cdc915c7494d0a883c090a
parent407ac931aefda91ac90498c6b6e6893982173613
thunderbolt: Make it possible to allocate one directional DMA tunnel

With DMA tunnels it is possible that the service using it does not
require bi-directional paths so make RX and TX optional (but of course
one of them needs to be set).

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/tunnel.c