If an interrupt occurs without a user defined callback, don't invoke the
function.
Otherwise, unexpected behavior will be seen due to running code from 0x0 (NULL).
Prior to this, it was the responsibility of the user to ensure all callbacks for
interrupts were set.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
The interrupt mask and interrupt cause registers are independent. The interrupt
handler has been modified to ignore interrupts that have been masked out.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Added new interrupts, callbacks, and macros related to HDCP (High-bandwidth
Digital Content Protection).
Added new interrupts, callbacks, and macros for an unplug event.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
1) Down request for MST sideband messages TX to RX.
2) Down reply for MST sideband messages from RX to TX.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
No need for this since the handler will never be called if the interrupts are
masked in the first place.
Also, by default, nested interrupts are disabled and it is up to the user to
explicitly request nested interrupts - allow this.
The interrupt mask should already apply in hardware.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>