drm/i915/dp: Move comment about hw timeout to the right place.
No functional change. Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Reviewed-by: David Weinehall <david.weinehall@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180223221520.18464-6-dhinakaran.pandiyan@intel.com
This commit is contained in:
parent
62d5ac27f4
commit
3975f0aaa3
|
@ -1152,14 +1152,14 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
|
||||||
DP_AUX_CH_CTL_TIME_OUT_ERROR |
|
DP_AUX_CH_CTL_TIME_OUT_ERROR |
|
||||||
DP_AUX_CH_CTL_RECEIVE_ERROR);
|
DP_AUX_CH_CTL_RECEIVE_ERROR);
|
||||||
|
|
||||||
if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
/* DP CTS 1.2 Core Rev 1.1, 4.2.1.1 & 4.2.1.2
|
/* DP CTS 1.2 Core Rev 1.1, 4.2.1.1 & 4.2.1.2
|
||||||
* 400us delay required for errors and timeouts
|
* 400us delay required for errors and timeouts
|
||||||
* Timeout errors from the HW already meet this
|
* Timeout errors from the HW already meet this
|
||||||
* requirement so skip to next iteration
|
* requirement so skip to next iteration
|
||||||
*/
|
*/
|
||||||
|
if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (status & DP_AUX_CH_CTL_RECEIVE_ERROR) {
|
if (status & DP_AUX_CH_CTL_RECEIVE_ERROR) {
|
||||||
usleep_range(400, 500);
|
usleep_range(400, 500);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue