thunderbolt: Do not unnecessarily call ICM get route
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 25 Jul 2018 08:03:17 +0000 (11:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jul 2018 08:15:24 +0000 (10:15 +0200)
commitfdd92e89a492142a113f270dcd7e490805922b71
tree5b1520d17b00f0c68da158da62dd300ef99f491c
parentdba3caf6210397635714c7f46129d8c0c9af2512
thunderbolt: Do not unnecessarily call ICM get route

This command is not really fast and can make resume time slower. We only
need to get route again if the link was changed and during initial
device connected message.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/icm.c