dptx: Iterate on max voltage swing during training.

Required for compliance.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2014-07-28 17:17:19 -07:00 committed by Jagannadha Sutradharudu Teki
parent 94cf07d9a9
commit 57cd141001

View file

@ -1365,12 +1365,6 @@ static XDptx_TrainingState XDptx_TrainingStateClockRecovery(XDptx *InstancePtr)
return XDPTX_TS_CHANNEL_EQUALIZATION;
}
/* Check if training has tried, and failed, with the maximum
* voltage swing. */
if (LinkConfig->VsLevel == XDPTX_MAXIMUM_VS_LEVEL) {
break;
}
/* Check if the same voltage swing for each lane has been used 5
* consecutive times. */
if (PrevVsLevel == LinkConfig->VsLevel) {
@ -1496,12 +1490,6 @@ static XDptx_TrainingState XDptx_TrainingStateChannelEqualization(
return XDPTX_TS_SUCCESS;
}
/* Check if training has tried, and failed, with the maximum
* voltage swing. */
if (LinkConfig->VsLevel == XDPTX_MAXIMUM_VS_LEVEL) {
break;
}
/* Check if the same voltage swing for each lane has been used 5
* consecutive times. */
if (PrevVsLevel == LinkConfig->VsLevel) {