aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-11 16:39:37 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 14:39:33 +0100
commit347f2e56b94e1ed197daa6697b22af049a82157d (patch)
treec367712f6745f88bde276a41a2c9d731aec89f20 /tools/perf/scripts/python/net_dropmonitor.py
parentmedia: atomisp: Simplify atomisp_css_[start|stop]() (diff)
downloadlinux-347f2e56b94e1ed197daa6697b22af049a82157d.tar.gz
linux-347f2e56b94e1ed197daa6697b22af049a82157d.zip
media: atomisp: Simplify atomisp_open() and atomisp_release()
Now that continuous mode is gone and we only have 1 /dev/video# node, combined with only allowing 1 open of that /dev/video# node for now, there is no need to check for other (sub)dev / pipe users. Remove the unnecessary checks for a nice cleanup. Note we also don't need to set asd->streaming to disabled since the vb2_fop_release() call done by atomisp_release() will have called atomisp_stop_streaming() already at this point (if necessary) and that will have already done this. 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions