Skip to content

Commit 0017c5b

Browse files
kartbendanieldegrasse
authored andcommitted
drivers: haptics: handlers: propagate stop_output return value
Actually propagate the return value of haptics_stop_output. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 005377b commit 0017c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/haptics/haptics_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static inline int z_vrfy_haptics_stop_output(const struct device *dev)
2020
{
2121
Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, stop_output));
2222

23-
z_impl_haptics_stop_output(dev);
23+
return z_impl_haptics_stop_output(dev);
2424
}
2525

2626
#include <syscalls/haptics_stop_output_mrsh.c>

0 commit comments

Comments
 (0)