hdcp1x: cipher: Fixed disable function for unplug scenario.
During an unplug event, the clock may not be stable which will cause the disable function to stall. Removing the wait for the encryption function to finish after the cipher has been disabled will not affect functionality. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com> Acked by: Rohit Consul <rohitco@xilinx.com>
This commit is contained in:
parent
ea3f5c9215
commit
4b989a1221
1 changed files with 0 additions and 8 deletions
|
@ -268,9 +268,6 @@ int XHdcp1x_CipherDisable(XHdcp1x *InstancePtr)
|
|||
XHdcp1x_WriteReg(InstancePtr->Config.BaseAddress,
|
||||
XHDCP1X_CIPHER_REG_CONTROL, Value);
|
||||
|
||||
/* Wait until the XOR has actually stopped */
|
||||
while (XHdcp1x_CipherXorInProgress(InstancePtr));
|
||||
|
||||
return (XST_SUCCESS);
|
||||
}
|
||||
|
||||
|
@ -692,11 +689,6 @@ int XHdcp1x_CipherDisableEncryption(XHdcp1x *InstancePtr, u64 StreamMap)
|
|||
XHdcp1x_WriteReg(InstancePtr->Config.BaseAddress,
|
||||
XHDCP1X_CIPHER_REG_CONTROL, Val);
|
||||
|
||||
/* If disabling the XOR, wait until no longer in progress */
|
||||
if (DisableXor) {
|
||||
while (XHdcp1x_CipherXorInProgress(InstancePtr));
|
||||
}
|
||||
|
||||
return (XST_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue