aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-27 15:54:27 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 09:47:11 +0200
commita2ace25c3f0e8904abc2aadee554cc20c6c3bf6b (patch)
treece2781ebd43b06d6d080bdd1878a6a265ca66550 /tools/perf/scripts/python
parentmedia: atomisp: Ensure that USERPTR pointers are page aligned (diff)
downloadlinux-a2ace25c3f0e8904abc2aadee554cc20c6c3bf6b.tar.gz
linux-a2ace25c3f0e8904abc2aadee554cc20c6c3bf6b.zip
media: atomisp: Fix device_caps reporting of the registered video-devs
atomisp_subdev_register_entities() had V4L2_CAP_VIDEO_CAPTURE / V4L2_CAP_VIDEO_OUT swapped. Or-ing in V4L2_CAP_VIDEO_OUT for the nodes which allow capturing from the camera and or-ing in V4L2_CAP_VIDEO_CAPTURE for the file-injection node (mem2mem use of the ISP). Things happen to still work for the capture device-nodes because the "shared" caps also included V4L2_CAP_VIDEO_CAPTURE, so those shared nodes advertised V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUT. Fix things so that only the correct caps are advertised. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.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