Skip to content
Commit fb43a480 authored by Arnaud Pouliquen's avatar Arnaud Pouliquen Committed by Carles Cufí
Browse files

drivers: ipm: fix infinite TXF interrupt



The TXF interrupt mask is not properly set. In this case the
interrupt line is not cleaned, leading to the re-entrance
in the interrupt handler.

the issue is linked to the management of the IPCC_CxTOCySR value.
The TXF interrupt is triggered when the IPCC_CyMR is channel bit is
set to 0 and the IPCC_CxTOCySR associated bit move from 1 to 0.

The fix is to check if the IPCC_CxTOCySR channel bit is 0 instead of 1.

Signed-off-by: default avatarArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
parent 36ea41fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment