summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/Kconfig
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-06-06 14:25:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:42:43 +0200
commitbdccf295d7cdf6f28ceec1dcc31a79d0a1697d21 (patch)
tree41926128da459fc10bfaba4b3ce6feec0cab1a0e /drivers/thunderbolt/Kconfig
parentthunderbolt: Add support for DMA configuration based mailbox (diff)
downloadlinux-bdccf295d7cdf6f28ceec1dcc31a79d0a1697d21.tar.xz
linux-bdccf295d7cdf6f28ceec1dcc31a79d0a1697d21.zip
thunderbolt: Do not touch the hardware if the NHI is gone on resume
On PCs the NHI host controller is only present when there is a device connected. When the last device is disconnected the host controller will dissappear shortly (within 10s). Now if that happens when we are suspended we should not try to touch the hardware anymore, so add a flag for this and check it before we re-enable rings. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com> Reviewed-by: Michael Jamet <michael.jamet@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/Kconfig')
0 files changed, 0 insertions, 0 deletions