summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-12-30 21:17:13 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-08 10:03:55 +0300
commit5141562bf46935cb6b41c0e871283b06690f6c52 (patch)
treef7f00ea40373b6ea091dbc649cea4d2b5097ea31 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentd24a42b9a643c4999a1710c3a30387208a1b60f6 (diff)
downloadlinux-5141562bf46935cb6b41c0e871283b06690f6c52.tar.xz
media: atomisp: Do not turn off sensor when the atomisp-sub-dev does not own it
The atomisp driver creates 8 /dev/video# device nodes. 4 nodes (preview / video / viewfinder / capture) for each of 2 possible streams aka atomisp-sub-device-s (asd-s). Both streams start with asd->input_curr set to 0 (to the first sensor), opening + releasing a file-handle on one of the nodes of an asd, while streaming from the other asd causes the sensor to get turned off, leading to the stream failing. The atomisp-code already tracks which asd "owns" a specific sensor, use this to only turn the sensor off if it is owned by the asd. Reviewed-by: Andy Shevchenko <andy@kernel.org> 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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions