Re: [PATCH v2 2/2] media: camss: video: factor pipeline stream on/off into a helper

From: Qianhui Xu

Date: Thu Dec 03 2026 - 09:38:16 EST


Hi Loic,
Sorry for the late reply, and thanks for reading it. Point by point:

1. Shape of the walk: taken, no change planned.
2. The -ENOTUNIQ case is worse than a loud error: it hits the plain break
at camss-video.c:284-285, so the walk ends and the helper returns 0,
with nothing started, stopped or logged. Every entity on the walk has
one sink pad (camss-vfe.h:22-24, camss-csid.h:21-23), so the helper is
correct as used today.
3. A VFE with two enabled source links is real for the pixel-path work,
but that loop is Bryan's series to shape and I would rather not guess
it here.
4. Merge as-is or handle it now: still waiting for Bryan. If he wants it
now, v3 is three lines at 284 - treat -ENOLINK as the end of the
pipeline, return any other error - so an -ENOTUNIQ graph fails in
video_start_streaming instead of half-starting.

No v3 has been sent; v2 still applies to current master.
Regards, Qianhui
---
Prepared with AI assistance (pi coding agent); reviewed and edited by me.