]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bus: rifsc: fix RIF configuration check for peripherals
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Thu, 29 Jan 2026 12:56:17 +0000 (13:56 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:40:21 +0000 (17:40 +0100)
commitd5ce3b4e951bc41a6ce877c8500bb4fe42146669
tree84c2825ca731a587bfc73c36f6bc8eda61ba2a25
parenta6e1842be2e4fd590136da5c100fbad6c3129d96
bus: rifsc: fix RIF configuration check for peripherals

Peripheral holding CID0 cannot be accessed, remove this completely
incorrect check. While there, fix  and simplify the semaphore checking
that should be performed when the CID filtering is enabled.

Fixes: a18208457253 ("bus: rifsc: introduce RIFSC firewall controller driver")
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20260129-fix_cid_check_rifsc-v1-1-ef280ccf764d@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
drivers/bus/stm32_rifsc.c