diff options
| author | Hans de Goede <[email protected]> | 2023-05-11 19:27:24 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 14:37:51 +0100 |
| commit | 71a85e054f3237595c50b1a74919185597fa2fba (patch) | |
| tree | 21e8c7a8229672968e9f880efe5903a4fa7b9572 /tools/perf/scripts/python | |
| parent | 3f3ee94c89b79c9addaf83b029edec9b720ec1f7 (diff) | |
media: atomisp: Simplify atomisp_css_[start|stop]()
Now that continuous mode is gone and we only have 1 /dev/video# node,
the videobuf2 core guarantees that atomisp_css_[start|stop]() will
only be called one at a time.
So there is no need for atomisp_streaming_count() counts.
When reqbufs has been done then the streams are guaranteed to be created,
and streaming cannot be started without reqbufs so there is no need for
atomisp_css_start() to check if it needs to create the streams.
Use this to clean-up atomisp_css_[start|stop]().
While at it also fix atomisp_css_start() not re-creating the streams
on an error, breaking the guarantee that the streams are always there
after a succesfull reqbufs call.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions