zephyr/drivers/video
Phi Bang Nguyen 8967236756 drivers: video: sw_generator: Fix stream_start return value
The stream_start() callback needs to return 0 for success. However, to
indicate work has been successfully scheduled, k_work_schedule() could
return either 0 (already scheduled) or 1 (newly scheduled).

Due to this issue, the sw_generator could not start streaming. Fix it.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-02-29 11:52:58 +00:00
..
CMakeLists.txt
Kconfig
Kconfig.mcux_csi
Kconfig.mt9m114
Kconfig.ov2640
Kconfig.ov7725
Kconfig.sw_generator
mt9m114.c
ov2640.c
ov7725.c
video_common.c
video_mcux_csi.c
video_sw_generator.c