[PATCH v2 2/5] video: Let video_sync to return error value