aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-11 16:03:38 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 14:37:12 +0100
commit3f3ee94c89b79c9addaf83b029edec9b720ec1f7 (patch)
treef519b7d5cdd56ae209cf0b368035179a6e083668 /tools/perf/scripts/python
parentmedia: atomisp: Remove atomisp_sensor_start_stream() (diff)
downloadlinux-3f3ee94c89b79c9addaf83b029edec9b720ec1f7.tar.gz
linux-3f3ee94c89b79c9addaf83b029edec9b720ec1f7.zip
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 <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions