drivers: haptics: handlers: propagate stop_output return value
Actually propagate the return value of haptics_stop_output. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
005377b4c5
commit
0017c5bb33
1 changed files with 1 additions and 1 deletions
|
@ -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_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, stop_output));
|
||||||
|
|
||||||
z_impl_haptics_stop_output(dev);
|
return z_impl_haptics_stop_output(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <syscalls/haptics_stop_output_mrsh.c>
|
#include <syscalls/haptics_stop_output_mrsh.c>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue