diff options
| author | Hans de Goede <[email protected]> | 2023-05-11 16:03:38 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 14:37:12 +0100 |
| commit | 3f3ee94c89b79c9addaf83b029edec9b720ec1f7 (patch) | |
| tree | f519b7d5cdd56ae209cf0b368035179a6e083668 /tools/perf/scripts/python/bin | |
| parent | 1ae393ea3dbc0a75f1eb460d32d56a4f18dfd684 (diff) | |
media: atomisp: Simplify atomisp_[start|stop]_streaming()
Now that continuous mode is gone and we only have 1 /dev/video# node,
the videobuf2 core guarantees that atomisp_[start|stop]_streaming() will
only be called one at a time.
So there is no need to check for things like the isp is already streaming
when starting, or other streams still being active while stopping.
Remove checks for these from atomisp_[start|stop]_streaming().
While at it also improve the logging a bit:
1. Remove the dev_err(isp->dev, "atomisp_reset") logged on every
stream stop (even though everything is fine.
2. Log a message when starting/stopping the sensor stream fails
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/bin')
0 files changed, 0 insertions, 0 deletions