aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-topology.c')
-rw-r--r--drivers/firewire/fw-topology.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/firewire/fw-topology.c b/drivers/firewire/fw-topology.c
index ebdec4c6c689..213b0ff8f3d6 100644
--- a/drivers/firewire/fw-topology.c
+++ b/drivers/firewire/fw-topology.c
@@ -290,12 +290,11 @@ static struct fw_node *build_tree(struct fw_card *card,
290 beta_repeaters_present = true; 290 beta_repeaters_present = true;
291 291
292 /* 292 /*
293 * If all PHYs does not report the same gap count 293 * If PHYs report different gap counts, set an invalid count
294 * setting, we fall back to 63 which will force a gap 294 * which will force a gap count reconfiguration and a reset.
295 * count reconfiguration and a reset.
296 */ 295 */
297 if (SELF_ID_GAP_COUNT(q) != gap_count) 296 if (SELF_ID_GAP_COUNT(q) != gap_count)
298 gap_count = 63; 297 gap_count = 0;
299 298
300 update_hop_count(node); 299 update_hop_count(node);
301 300