aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/dma_port.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-10-11 17:19:54 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2019-04-18 11:18:53 +0300
commit344e06430a72347b554a7fd98f3a961084f37be6 (patch)
tree749030b9462451e58673e0ceb987be245d26c978 /drivers/thunderbolt/dma_port.c
parentthunderbolt: Add support for full PCIe daisy chains (diff)
downloadlinux-dev-344e06430a72347b554a7fd98f3a961084f37be6.tar.xz
linux-dev-344e06430a72347b554a7fd98f3a961084f37be6.zip
thunderbolt: Scan only valid NULL adapter ports in hotplug
The only way to expand Thunderbolt topology is through the NULL adapter ports (typically ports 1, 2, 3 and 4). There is no point handling Thunderbolt hotplug events on any other port. Add a helper function (tb_port_is_null()) that can be used to determine if the port is NULL port, and use it in software connection manager code when hotplug event is handled. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/dma_port.c')
0 files changed, 0 insertions, 0 deletions