From 0017c5bb332c184eddfaff75aeb618ef27cdd4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Sat, 14 Jun 2025 21:36:50 +0200 Subject: [PATCH] drivers: haptics: handlers: propagate stop_output return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actually propagate the return value of haptics_stop_output. Signed-off-by: Benjamin Cabé --- drivers/haptics/haptics_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/haptics/haptics_handlers.c b/drivers/haptics/haptics_handlers.c index ad83f28d9fa..fb0db5a915e 100644 --- a/drivers/haptics/haptics_handlers.c +++ b/drivers/haptics/haptics_handlers.c @@ -20,7 +20,7 @@ static inline int z_vrfy_haptics_stop_output(const struct device *dev) { Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, stop_output)); - z_impl_haptics_stop_output(dev); + return z_impl_haptics_stop_output(dev); } #include