v_hdmirxss: Set hpd false when cable is disconnected

When cable disconnect is detected drive hpd line low

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
This commit is contained in:
Rohit Consul 2015-10-22 11:45:40 -07:00 committed by Nava kishore Manne
parent c41c7cc5f4
commit 5700a3bded

View file

@ -535,6 +535,9 @@ static void XV_HdmiRxSs_ConnectCallback(void *CallbackRef)
else {
xil_printf("RX cable is disconnected\n\r");
// Clear RX hot plug detect
XV_HdmiRx_SetHpd(HdmiRxSsPtr->HdmiRxPtr, FALSE);
XV_HdmiRx_SetScrambler(HdmiRxSsPtr->HdmiRxPtr, (FALSE)); // Disable scrambler
HdmiRxSsPtr->IsStreamConnected = (FALSE);
}