Browse Source

NTB: tool: Enable the NTB/PCIe link on the local or remote side of bridge

Invoke ntb_link_enable() to enable the NTB/PCIe link on the local
or remote side of the bridge.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Kishon Vijay Abraham I 6 years ago
parent
commit
1bc6ec237a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/ntb/test/ntb_tool.c

+ 1 - 0
drivers/ntb/test/ntb_tool.c

@@ -1638,6 +1638,7 @@ static int tool_probe(struct ntb_client *self, struct ntb_dev *ntb)
 
 
 	tool_setup_dbgfs(tc);
 	tool_setup_dbgfs(tc);
 
 
+	ntb_link_enable(ntb, NTB_SPEED_AUTO, NTB_WIDTH_AUTO);
 	return 0;
 	return 0;
 
 
 err_clear_mws:
 err_clear_mws: