]> git.openpandora.org Git - pandora-u-boot.git/commit
ARM: stm32mp: Do not acquire RIFSC semaphore if CID filtering is disabled
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Tue, 10 Feb 2026 10:26:03 +0000 (11:26 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 24 Feb 2026 16:49:43 +0000 (17:49 +0100)
commit5f92eef2f994256c77bcba0649084e358524da10
treeac450e0c5b889d9330b97638dbb75c85e7522e57
parent20727a083f46bb5f664f9da624254ad38e88f400
ARM: stm32mp: Do not acquire RIFSC semaphore if CID filtering is disabled

If the CID filtering is enabled, the semaphore mode is disabled as well.
To avoid an incorrect behavior and error trace, add a check of CID
filtering state before acquiring the semaphore.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/stm32mp2/rifsc.c