diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-09-19 14:25:30 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-09-03 11:06:41 +0200 |
commit | 356b6c4ef5d62869f8e9ff9003ef6bd8db793539 (patch) | |
tree | d7fd143147baa8433ba1e3043c799c49d2e2380c /drivers/thunderbolt/tb.c | |
parent | thunderbolt: No need to log an error if tb_switch_lane_bonding_enable() fails (diff) | |
download | linux-356b6c4ef5d62869f8e9ff9003ef6bd8db793539.tar.xz linux-356b6c4ef5d62869f8e9ff9003ef6bd8db793539.zip |
thunderbolt: Send reset only to first generation routers
First generation routers may need the reset command upon resume but it
is not supported by newer generations.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb.c')
-rw-r--r-- | drivers/thunderbolt/tb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c index 98f268a818a0..a6da2d0567ae 100644 --- a/drivers/thunderbolt/tb.c +++ b/drivers/thunderbolt/tb.c @@ -1258,7 +1258,7 @@ static int tb_resume_noirq(struct tb *tb) tb_dbg(tb, "resuming...\n"); /* remove any pci devices the firmware might have setup */ - tb_switch_reset(tb, 0); + tb_switch_reset(tb->root_switch); tb_switch_resume(tb->root_switch); tb_free_invalid_tunnels(tb); |