From 694ae0efbe6811791b0604a7483c343909ba275a Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Wed, 21 Oct 2015 13:56:27 -0700 Subject: [PATCH] vphy: ClkInitialize to act on direction. Signed-off-by: Andrei-Liviu Simion Acked-by: Srikanth Vemula --- XilinxProcessorIPLib/drivers/vphy/src/xvphy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/vphy/src/xvphy.c b/XilinxProcessorIPLib/drivers/vphy/src/xvphy.c index cbb3fea0..9cb74f45 100644 --- a/XilinxProcessorIPLib/drivers/vphy/src/xvphy.c +++ b/XilinxProcessorIPLib/drivers/vphy/src/xvphy.c @@ -305,11 +305,8 @@ u32 XVphy_ClkInitialize(XVphy *InstancePtr, u8 QuadId, XVphy_ChannelId ChId, if (Status != XST_SUCCESS) { return Status; } - if ((Dir == XVPHY_DIR_RX) && XVphy_IsBonded(InstancePtr, 0, ChId)) { - XVphy_OutDivReconfig(InstancePtr, 0, ChId, XVPHY_DIR_TX); - } - Status = XVphy_DirReconfig(InstancePtr, QuadId, ChId, XVPHY_DIR_RX); + Status = XVphy_DirReconfig(InstancePtr, QuadId, ChId, Dir); return Status; }