dptx: Clear the ACT event received bit upon successfully receiving it.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2014-10-27 10:04:00 -07:00 committed by Suneel Garapati
parent b38c432ba3
commit c53c4b7d73

View file

@ -2042,6 +2042,15 @@ static u32 XDptx_SendActTrigger(XDptx *InstancePtr)
XDptx_WaitUs(InstancePtr, 1000);
} while ((AuxData & 0x02) != 0x02);
/* Clear the ACT event received bit. */
AuxData = 0x2;
Status = XDptx_AuxWrite(InstancePtr,
XDPTX_DPCD_PAYLOAD_TABLE_UPDATE_STATUS, 1, &AuxData);
if (Status != XST_SUCCESS) {
/* The AUX write transaction failed. */
return Status;
}
return XST_SUCCESS;
}