nuttx/arch/arm
Daniel P. Carvalho 774387d980 stm32/comp: propagate enable error and handle lock in ioctl
In comp_ioctl(), propagate the return code of comp_enable() to caller so
failures (such as when the comparator CSR register is locked) return -EPERM.
Also call comp_lock_set() if the comparator was configured with locking,
handling cases where initialization was delayed.

Assisted-by: Gemini:gemini-3.8-pro
Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com>
2026-09-19 22:41:17 +08:00
..
include arch/arm/imxrt: Add support for IOMUXC and rgpio for imxrt118x 2026-09-19 22:38:45 +08:00
src stm32/comp: propagate enable error and handle lock in ioctl 2026-09-19 22:41:17 +08:00
CMakeLists.txt
Kconfig arch/arm/imxrt: Add imxrt118x_memorymap 2026-09-19 22:38:45 +08:00