Searched hist:"5 c7ebea70031fa766d8b0d82619f5414195437e6" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | stm32_iwdg.c | 5c7ebea70031fa766d8b0d82619f5414195437e6 Fri May 16 09:57:02 UTC 2025 Antonio Borneo <antonio.borneo@foss.st.com> drivers: stm32_iwdg: check for error on clk_enable during probe
Check for the error returned by clk_enable() during the driver's probe. While there, if watchdog is started but we cannot control it, trigger panic instead of return error. This also avoids adding useless clk_disable() in the error exit path.
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
|