thunderbolt: Deactivate all paths before restarting them
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 19 Feb 2017 21:37:35 +0000 (23:37 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:52 +0000 (11:18 +0300)
commitaae9e27f3b72ed58d6b87c8f511e7812601a93c5
treec78d28bd8d42f7548f40907120dcc9ea235b6231
parent8c7acaaf020fe54baf2eccc5e1071341754d22be
thunderbolt: Deactivate all paths before restarting them

State of the connected devices and tunnel configuration is not known
during resume. For example some paths may not be complete anymore if the
user has unplugged the related devices. So instead of marking all paths
as inactive we go ahead and deactivate them explicitly before we restart
them.

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