diff options
| author | Helen Fornazier <[email protected]> | 2019-03-06 17:42:43 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-19 16:33:07 -0400 |
| commit | 6f3f3e11999b192e39404c49b584b7aca4cb1ecd (patch) | |
| tree | 4bb57f79308b069701a01198c549694960a8c5ab /drivers/media/v4l2-core/v4l2-ioctl.c | |
| parent | 43e3b726f5e1b34e4d6bdacc72fdde84cfffaf13 (diff) | |
media: vimc: stream: init/terminate the first entity
The s_stream callback was not being called for the first entity in the
stream pipeline array.
Instead of verifying the type of the node (video or subdevice) and
calling s_stream from the second entity in the pipeline, do this process
for all the entities in the pipeline for consistency.
The previous code was not a problem because the first entity is a video
device and not a subdevice, but this patch prepares vimc to allow
setting some configuration in the entity before calling s_stream.
Signed-off-by: Helen Koike <[email protected]>
Tested-by: André Almeida <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[[email protected]: fix line-too-long warning]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions