vphy: ClkInitialize to act on direction.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com> Acked-by: Srikanth Vemula <svemula@xilinx.com>
This commit is contained in:
parent
f0365b5b07
commit
694ae0efbe
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue